Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example8,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example8,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example8",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/Complex 4.0.0+maint.om/package.mo): time 0.002954/0.002954, allocations: 177.9 kB / 7.455 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7152/0.7152, allocations: 133.5 MB / 141.4 MB, free: 15.66 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.532/1.532, allocations: 221.3 MB / 395 MB, free: 10.23 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 94.97 kB / 477.8 MB, free: 10.85 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5483/0.5494, allocations: 88.42 MB / 0.5529 GB, free: 89.15 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.7606, allocations: 82.3 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6736/1.434, allocations: 109.6 MB / 0.7404 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000253/1.435, allocations: 70.94 kB / 0.7404 GB, free: 10.76 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0009666/1.436, allocations: 403.1 kB / 0.7408 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/1.436, allocations: 11.38 kB / 0.7408 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.476e-05/1.436, allocations: 0.8438 kB / 0.7408 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/1.436, allocations: 163.8 kB / 0.741 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/1.436, allocations: 2 kB / 0.741 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/1.436, allocations: 3.875 kB / 0.741 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.577e-05/1.436, allocations: 10.47 kB / 0.741 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.226e-05/1.436, allocations: 43.98 kB / 0.741 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/1.436, allocations: 0 / 0.741 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/1.436, allocations: 0 / 0.741 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/1.436, allocations: 0 / 0.741 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001509/1.436, allocations: 139.9 kB / 0.7412 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.744e-05/1.436, allocations: 41.02 kB / 0.7412 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.333e-05/1.436, allocations: 13.34 kB / 0.7412 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.76e-05/1.436, allocations: 0.7969 kB / 0.7412 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/1.436, allocations: 34.84 kB / 0.7413 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/1.436, allocations: 4 kB / 0.7413 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.000157/1.437, allocations: 38.78 kB / 0.7413 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.556e-05/1.437, allocations: 77.62 kB / 0.7414 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.772e-05/1.437, allocations: 85 kB / 0.7414 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/1.437, allocations: 25.7 kB / 0.7415 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.14e-05/1.437, allocations: 81.59 kB / 0.7416 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.471e-05/1.437, allocations: 11.75 kB / 0.7416 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.525e-06/1.437, allocations: 0.875 kB / 0.7416 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001265/1.437, allocations: 319.1 kB / 0.7419 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.225e-05/1.437, allocations: 0.75 kB / 0.7419 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.422e-05/1.437, allocations: 13.59 kB / 0.7419 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.286e-05/1.437, allocations: 0.5156 kB / 0.7419 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/1.437, allocations: 3.844 kB / 0.7419 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.304e-05/1.437, allocations: 47.36 kB / 0.7419 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/1.437, allocations: 4.672 kB / 0.7419 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/1.437, allocations: 7.938 kB / 0.7419 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/1.437, allocations: 0 / 0.7419 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.726e-05/1.437, allocations: 8.656 kB / 0.742 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/1.437, allocations: 0 / 0.742 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.714e-05/1.437, allocations: 0.75 kB / 0.742 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/1.437, allocations: 3.812 kB / 0.742 GB, free: 25.15 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 8.243e-05/1.437, allocations: 101 kB / 0.7421 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.005e-05/1.437, allocations: 5.594 kB / 0.7421 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001188/1.437, allocations: 47.05 kB / 0.7421 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/1.437, allocations: 5.719 kB / 0.7421 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/1.437, allocations: 0 / 0.7421 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/1.437, allocations: 0.7969 kB / 0.7421 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.778e-05/1.438, allocations: 127 kB / 0.7422 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/1.438, allocations: 4.516 kB / 0.7422 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.171e-05/1.438, allocations: 0.5625 kB / 0.7422 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/1.438, allocations: 7.719 kB / 0.7422 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-06/1.438, allocations: 4.625 kB / 0.7422 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/1.438, allocations: 0 / 0.7422 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/1.438, allocations: 3.938 kB / 0.7423 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.331e-05/1.438, allocations: 73.36 kB / 0.7423 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001844/1.438, allocations: 465.9 kB / 0.7428 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.761e-05/1.438, allocations: 77.86 kB / 0.7428 GB, free: 24.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/1.438, allocations: 5.594 kB / 0.7428 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.792e-05/1.438, allocations: 3.375 kB / 0.7428 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.807e-05/1.438, allocations: 0.75 kB / 0.7428 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-06/1.438, allocations: 8.812 kB / 0.7429 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.054e-05/1.438, allocations: 75.28 kB / 0.7429 GB, free: 24.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007436/1.439, allocations: 3.688 kB / 0.7429 GB, free: 24.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001856/1.439, allocations: 95.41 kB / 0.743 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 6.897e-05/1.439, allocations: 4.297 kB / 0.743 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.439, allocations: 3.5 kB / 0.743 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 9.007e-06/1.439, allocations: 4.812 kB / 0.743 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001062/1.439, allocations: 11.78 kB / 0.743 GB, free: 24.01 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002066/1.439, allocations: 47.47 kB / 0.7431 GB, free: 23.94 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000312/1.44, allocations: 0.6943 MB / 0.7438 GB, free: 23.23 MB / 0.5105 GB Notification: Performance of SimCode: time 2.1e-07/1.44, allocations: 0 / 0.7438 GB, free: 23.23 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example8.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example8.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_Example8.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.Example8.pipe 2>&1)