Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.227/1.227, allocations: 249.4 MB / 256.7 MB, free: 7.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001002/0.001002, allocations: 185.2 kB / 316 MB, free: 3.578 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.084/1.084, allocations: 205.2 MB / 0.5667 GB, free: 15.65 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008365/0.0008364, allocations: 96.44 kB / 0.671 GB, free: 4.781 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3206/0.3214, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.4789, allocations: 106.3 MB / 0.8847 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.484/0.963, allocations: 135.4 MB / 1.017 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002457/0.9633, allocations: 96.12 kB / 1.017 GB, free: 3.422 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.03394/0.9972, allocations: 13 MB / 1.03 GB, free: 8.715 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.9973, allocations: 8 kB / 1.03 GB, free: 8.707 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.049e-05/0.9973, allocations: 11.91 kB / 1.03 GB, free: 8.695 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.9975, allocations: 181.4 kB / 1.03 GB, free: 8.484 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.9975, allocations: 3.938 kB / 1.03 GB, free: 8.48 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.902e-05/0.9975, allocations: 8 kB / 1.03 GB, free: 8.473 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001194/0.9976, allocations: 53.84 kB / 1.03 GB, free: 8.43 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.9978, allocations: 125.7 kB / 1.03 GB, free: 8.312 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.9978, allocations: 0 / 1.03 GB, free: 8.312 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.099e-05/0.9979, allocations: 4 kB / 1.03 GB, free: 8.309 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.391e-06/0.9979, allocations: 0 / 1.03 GB, free: 8.309 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000125/0.998, allocations: 142.1 kB / 1.03 GB, free: 8.133 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001188/0.9981, allocations: 116.2 kB / 1.03 GB, free: 8.047 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.9982, allocations: 98.53 kB / 1.03 GB, free: 7.98 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 7.444e-06/0.9982, allocations: 4 kB / 1.03 GB, free: 7.977 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/0.9983, allocations: 38.5 kB / 1.03 GB, free: 7.93 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=6): time 9.62e-07/0.9983, allocations: 0 / 1.03 GB, free: 7.93 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6): time 0.0004763/0.9988, allocations: 193.2 kB / 1.031 GB, free: 7.754 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.9988, allocations: 89.09 kB / 1.031 GB, free: 7.648 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.236e-05/0.9989, allocations: 112 kB / 1.031 GB, free: 7.539 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.9989, allocations: 25.7 kB / 1.031 GB, free: 7.508 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 2.371e-05/0.999, allocations: 88.12 kB / 1.031 GB, free: 7.418 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.606e-05/0.999, allocations: 27.16 kB / 1.031 GB, free: 7.395 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.498e-05/0.999, allocations: 4 kB / 1.031 GB, free: 7.391 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.967e-05/0.9991, allocations: 318.6 kB / 1.031 GB, free: 7.074 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.459e-05/0.9992, allocations: 58.27 kB / 1.031 GB, free: 7.023 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.267e-05/0.9993, allocations: 57.89 kB / 1.031 GB, free: 6.977 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002217/0.9995, allocations: 70.31 kB / 1.031 GB, free: 6.914 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.9995, allocations: 0 / 1.031 GB, free: 6.914 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003707/0.9999, allocations: 197.4 kB / 1.032 GB, free: 6.734 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.9999, allocations: 8 kB / 1.032 GB, free: 6.727 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.9999, allocations: 4.062 kB / 1.032 GB, free: 6.723 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.9999, allocations: 0 / 1.032 GB, free: 6.723 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.52e-07/1, allocations: 0 / 1.032 GB, free: 6.723 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/1, allocations: 0 / 1.032 GB, free: 6.723 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002078/1, allocations: 15.98 kB / 1.032 GB, free: 6.707 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.247e-05/1, allocations: 12.61 kB / 1.032 GB, free: 6.695 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (yI1[1],yI2[1],yI2[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001454/1, allocations: 153.7 kB / 1.032 GB, free: 6.535 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.695e-05/1, allocations: 11.91 kB / 1.032 GB, free: 6.523 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.789e-05/1, allocations: 12.38 kB / 1.032 GB, free: 6.508 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/1, allocations: 3.984 kB / 1.032 GB, free: 6.504 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/1, allocations: 0 / 1.032 GB, free: 6.504 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/1, allocations: 0 / 1.032 GB, free: 6.504 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.745e-05/1.001, allocations: 145.5 kB / 1.032 GB, free: 6.328 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/1.001, allocations: 4 kB / 1.032 GB, free: 6.324 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.3e-07/1.001, allocations: 0 / 1.032 GB, free: 6.324 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/1.001, allocations: 0 / 1.032 GB, free: 6.324 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.531e-05/1.001, allocations: 18.67 kB / 1.032 GB, free: 6.309 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/1.001, allocations: 0 / 1.032 GB, free: 6.309 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/1.001, allocations: 384 / 1.032 GB, free: 6.309 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004177/1.001, allocations: 251.5 kB / 1.032 GB, free: 6.07 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005241/1.002, allocations: 0.6221 MB / 1.033 GB, free: 5.461 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.542e-05/1.002, allocations: 96.05 kB / 1.033 GB, free: 5.352 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.96e-05/1.002, allocations: 7.938 kB / 1.033 GB, free: 5.344 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002015/1.002, allocations: 20.05 kB / 1.033 GB, free: 5.324 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.352e-05/1.002, allocations: 10.92 kB / 1.033 GB, free: 5.316 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.993e-05/1.002, allocations: 12 kB / 1.033 GB, free: 5.305 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.218e-05/1.002, allocations: 93.95 kB / 1.033 GB, free: 5.219 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0009541/1.003, allocations: 132.5 kB / 1.033 GB, free: 5.105 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (yI1[1],yI2[1],yI2[2]) * Number of discrete states: 3 (yI2[2],yI2[1],yI1[1]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Obsolete/Utilities/IO/Python27/Functions/BaseClasses/exchange.mo:2:1-72:13:writable] Warning: Could not find library python2.7 in either of: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython2.7.a /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython2.7.so /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython2.7.a /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/Library/x86_64-linux/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/Library/x86_64-linux/libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/Library/linux64/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/Library/linux64/libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/Library/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/Library/libpython2.7.so [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Obsolete/Utilities/IO/Python27/Functions/BaseClasses/PythonObject.mo:5:5-37:20:writable] Warning: Could not find library python2.7 in either of: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython2.7.a /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython2.7.so /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython2.7.a /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/Library/x86_64-linux/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/Library/x86_64-linux/libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/Library/linux64/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/Library/linux64/libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/Library/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/Library/libpython2.7.so [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Obsolete/Utilities/IO/Python27/Functions/BaseClasses/PythonObject.mo:39:3-60:17:writable] Warning: Could not find library python2.7 in either of: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython2.7.a /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython2.7.so /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython2.7.a /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/Library/x86_64-linux/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/Library/x86_64-linux/libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/Library/linux64/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/Library/linux64/libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/Library/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/Library/libpython2.7.so Notification: Performance of Backend phase and start with SimCode phase: time 0.0007981/1.004, allocations: 417.4 kB / 1.034 GB, free: 4.777 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002675/1.004, allocations: 215.8 kB / 1.034 GB, free: 4.609 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/1.004, allocations: 0 / 1.034 GB, free: 4.609 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001619/1.004, allocations: 179.4 kB / 1.034 GB, free: 4.484 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001033/1.004, allocations: 11.19 kB / 1.034 GB, free: 4.477 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/1.005, allocations: 491.2 kB / 1.034 GB, free: 4.02 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002455/1.006, allocations: 0.6996 MB / 1.035 GB, free: 3.293 MB / 0.6511 GB Notification: Performance of SimCode: time 2.4e-07/1.006, allocations: 0 / 1.035 GB, free: 3.293 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange.fmu > Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe 2>&1)