Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example4.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.Example4,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example4,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example4",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.004031/0.004031, allocations: 181.2 kB / 7.457 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7871/0.7871, allocations: 133.5 MB / 141.4 MB, free: 15.68 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.657/1.657, allocations: 221.3 MB / 395 MB, free: 10.15 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.001098/0.001098, allocations: 90.66 kB / 477.8 MB, free: 10.85 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5604/0.5616, allocations: 88.42 MB / 0.5529 GB, free: 89.18 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.7663, allocations: 82.3 MB / 0.6333 GB, free: 14.01 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.096/5.862, allocations: 1.914 GB / 2.547 GB, free: 47.01 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002502/5.863, allocations: 83.95 kB / 2.547 GB, free: 46.93 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 5.498/11.36, allocations: 1.473 GB / 4.02 GB, free: 77.06 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/11.36, allocations: 8.844 kB / 4.02 GB, free: 77.06 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00344/11.36, allocations: 0.5451 MB / 4.02 GB, free: 76.98 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00339/11.37, allocations: 1.242 MB / 4.022 GB, free: 76.66 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000888/11.37, allocations: 268.4 kB / 4.022 GB, free: 76.65 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002093/11.37, allocations: 59.88 kB / 4.022 GB, free: 76.65 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001442/11.37, allocations: 0.7328 MB / 4.023 GB, free: 76.64 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001576/11.37, allocations: 1.067 MB / 4.024 GB, free: 76.35 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.633e-05/11.37, allocations: 5.656 kB / 4.024 GB, free: 76.35 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.425e-05/11.37, allocations: 5.125 kB / 4.024 GB, free: 76.35 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-05/11.37, allocations: 42.94 kB / 4.024 GB, free: 76.35 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007691/11.38, allocations: 6.551 MB / 4.03 GB, free: 72.25 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000706/11.38, allocations: 460.3 kB / 4.031 GB, free: 72.14 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000258/11.38, allocations: 186.5 kB / 4.031 GB, free: 72.13 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004257/11.38, allocations: 368.8 kB / 4.031 GB, free: 71.75 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/11.38, allocations: 38.91 kB / 4.031 GB, free: 71.71 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 2.515e-06/11.38, allocations: 0 / 4.031 GB, free: 71.71 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33): time 0.001463/11.38, allocations: 0.5193 MB / 4.032 GB, free: 71.62 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.613e-05/11.38, allocations: 54.34 kB / 4.032 GB, free: 71.56 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001013/11.38, allocations: 0.8326 MB / 4.032 GB, free: 71.41 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.9e-05/11.38, allocations: 25.7 kB / 4.032 GB, free: 71.38 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003057/11.38, allocations: 0.5236 MB / 4.033 GB, free: 71.06 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.745e-05/11.38, allocations: 109.4 kB / 4.033 GB, free: 70.99 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.331e-05/11.38, allocations: 0 / 4.033 GB, free: 70.99 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.163e-05/11.38, allocations: 337.2 kB / 4.033 GB, free: 70.68 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002757/11.38, allocations: 193.8 kB / 4.034 GB, free: 70.68 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004254/11.38, allocations: 0.5605 MB / 4.034 GB, free: 70.23 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004919/11.39, allocations: 312.4 kB / 4.034 GB, free: 70.22 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/11.39, allocations: 1 kB / 4.034 GB, free: 70.22 MB / 0.7136 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001255/11.39, allocations: 0.7585 MB / 4.035 GB, free: 70.13 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007047/11.39, allocations: 4.093 MB / 4.039 GB, free: 65.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/11.39, allocations: 11.66 kB / 4.039 GB, free: 65.88 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.448e-05/11.39, allocations: 15.66 kB / 4.039 GB, free: 65.88 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008832/11.39, allocations: 220.9 kB / 4.039 GB, free: 65.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.238e-05/11.39, allocations: 23.97 kB / 4.039 GB, free: 65.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001401/11.39, allocations: 190.3 kB / 4.04 GB, free: 65.84 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.639e-05/11.39, allocations: 42.81 kB / 4.04 GB, free: 65.84 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.278e-06/11.39, allocations: 3.844 kB / 4.04 GB, free: 65.84 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001067/11.39, allocations: 0.6245 MB / 4.04 GB, free: 65.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/11.39, allocations: 10.62 kB / 4.04 GB, free: 65.84 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/11.39, allocations: 17.78 kB / 4.04 GB, free: 65.84 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008176/11.39, allocations: 210 kB / 4.04 GB, free: 65.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.478e-05/11.39, allocations: 24.02 kB / 4.041 GB, free: 65.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001185/11.39, allocations: 151.2 kB / 4.041 GB, free: 65.81 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.346e-05/11.39, allocations: 46.08 kB / 4.041 GB, free: 65.81 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * 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 0.0001903/11.39, allocations: 133.8 kB / 4.041 GB, free: 65.7 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001685/11.39, allocations: 110.8 kB / 4.041 GB, free: 65.64 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001077/11.39, allocations: 0.4946 MB / 4.041 GB, free: 65.57 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/11.39, allocations: 7.188 kB / 4.041 GB, free: 65.57 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/11.39, allocations: 0 / 4.041 GB, free: 65.57 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/11.39, allocations: 7.828 kB / 4.041 GB, free: 65.57 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002754/11.4, allocations: 1.683 MB / 4.043 GB, free: 65.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/11.4, allocations: 7.219 kB / 4.043 GB, free: 65.09 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005328/11.4, allocations: 111.4 kB / 4.043 GB, free: 65.09 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.006e-05/11.4, allocations: 10.28 kB / 4.043 GB, free: 65.09 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.348e-05/11.4, allocations: 6.656 kB / 4.043 GB, free: 65.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/11.4, allocations: 3.719 kB / 4.043 GB, free: 65.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.335e-06/11.4, allocations: 15.16 kB / 4.043 GB, free: 65.09 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008873/11.4, allocations: 0.8351 MB / 4.044 GB, free: 64.54 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001445/11.4, allocations: 1.436 MB / 4.045 GB, free: 63.6 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004222/11.4, allocations: 266.3 kB / 4.046 GB, free: 63.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002511/11.4, allocations: 3.312 kB / 4.046 GB, free: 63.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009846/11.4, allocations: 119 kB / 4.046 GB, free: 63.43 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.547e-05/11.4, allocations: 32.42 kB / 4.046 GB, free: 63.43 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.743e-05/11.4, allocations: 18.52 kB / 4.046 GB, free: 63.43 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0008236/11.4, allocations: 0.623 MB / 4.046 GB, free: 63.32 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.005395/11.41, allocations: 1.63 MB / 4.048 GB, free: 63.22 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * 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.004866/11.41, allocations: 3.521 MB / 4.052 GB, free: 61.86 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001753/11.42, allocations: 0.8218 MB / 4.052 GB, free: 61.85 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.583e-06/11.42, allocations: 0 / 4.052 GB, free: 61.85 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.00028/11.42, allocations: 193.8 kB / 4.052 GB, free: 61.85 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002024/11.42, allocations: 377.5 kB / 4.053 GB, free: 61.83 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004626/11.42, allocations: 1.675 MB / 4.054 GB, free: 61.29 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009173/11.42, allocations: 1.31 MB / 4.056 GB, free: 60.57 MB / 0.7136 GB Notification: Performance of SimCode: time 9.11e-07/11.42, allocations: 0 / 4.056 GB, free: 60.57 MB / 0.7136 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example4.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example4.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_Example4.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.Example4.pipe 2>&1)