Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.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.Example1v1,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example1v1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example1v1,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example1v1",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.003395/0.003395, allocations: 185.7 kB / 7.464 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7162/0.7162, 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.465/1.465, allocations: 221.3 MB / 395 MB, free: 10.22 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.001144/0.001144, allocations: 94.03 kB / 477.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4186/0.4198, allocations: 88.43 MB / 0.5529 GB, free: 89.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1763/0.5962, allocations: 82.29 MB / 0.6333 GB, free: 14.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.228/1.824, allocations: 380.6 MB / 1.005 GB, free: 252.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002864/1.825, allocations: 90.12 kB / 1.005 GB, free: 252.2 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: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 4.839/6.664, allocations: 1.339 GB / 2.344 GB, free: 110.1 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.874e-05/6.664, allocations: 7.875 kB / 2.344 GB, free: 110.1 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003678/6.668, allocations: 0.5549 MB / 2.344 GB, free: 109.9 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01494/6.682, allocations: 4.374 MB / 2.348 GB, free: 109.4 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001624/6.683, allocations: 51.72 kB / 2.349 GB, free: 109.4 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007695/6.683, allocations: 115.9 kB / 2.349 GB, free: 109.4 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004649/6.688, allocations: 1.637 MB / 2.35 GB, free: 109.4 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004324/6.692, allocations: 1.834 MB / 2.352 GB, free: 109 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.968e-05/6.693, allocations: 7.531 kB / 2.352 GB, free: 109 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002474/6.693, allocations: 3.812 kB / 2.352 GB, free: 109 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.689e-05/6.693, allocations: 42.47 kB / 2.352 GB, free: 109 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0233/6.716, allocations: 11.54 MB / 2.363 GB, free: 102.6 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002726/6.719, allocations: 1.209 MB / 2.365 GB, free: 102.6 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001719/6.721, allocations: 0.9055 MB / 2.365 GB, free: 102.5 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008573/6.729, allocations: 3.371 MB / 2.369 GB, free: 100.9 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009416/6.73, allocations: 0.6478 MB / 2.369 GB, free: 100.8 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=98): time 3.817e-06/6.73, allocations: 7.188 kB / 2.369 GB, free: 100.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=98): time 0.00481/6.735, allocations: 2.012 MB / 2.371 GB, free: 100.6 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/6.735, allocations: 65.59 kB / 2.371 GB, free: 100.5 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003638/6.739, allocations: 2.243 MB / 2.374 GB, free: 100.3 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.000217/6.739, allocations: 29.45 kB / 2.374 GB, free: 100.3 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007042/6.74, allocations: 0.8415 MB / 2.374 GB, free: 99.85 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003633/6.74, allocations: 335.1 kB / 2.375 GB, free: 99.63 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.097e-05/6.74, allocations: 0 / 2.375 GB, free: 99.63 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001096/6.74, allocations: 360 kB / 2.375 GB, free: 99.33 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000765/6.741, allocations: 0.549 MB / 2.376 GB, free: 99.32 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001127/6.742, allocations: 1.297 MB / 2.377 GB, free: 98.39 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001824/6.744, allocations: 0.8622 MB / 2.378 GB, free: 98.37 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/6.744, allocations: 3.875 kB / 2.378 GB, free: 98.37 MB / 0.7136 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.00538/6.75, allocations: 2.471 MB / 2.38 GB, free: 98.13 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.001244/6.751, allocations: 5.898 MB / 2.386 GB, free: 91.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.581e-05/6.751, allocations: 15 kB / 2.386 GB, free: 91.83 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009743/6.752, allocations: 442.2 kB / 2.386 GB, free: 91.81 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001323/6.753, allocations: 298.3 kB / 2.387 GB, free: 91.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001811/6.755, allocations: 2.065 MB / 2.389 GB, free: 90.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002952/6.758, allocations: 226.4 kB / 2.389 GB, free: 90.66 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001981/6.758, allocations: 88.53 kB / 2.389 GB, free: 90.66 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/6.758, allocations: 3.688 kB / 2.389 GB, free: 90.66 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003839/6.762, allocations: 2.06 MB / 2.391 GB, free: 90.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.067e-05/6.762, allocations: 18.62 kB / 2.391 GB, free: 90.48 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008261/6.763, allocations: 413.2 kB / 2.391 GB, free: 90.46 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/6.764, allocations: 283.9 kB / 2.392 GB, free: 90.46 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005951/6.77, allocations: 5.372 MB / 2.397 GB, free: 87.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002857/6.773, allocations: 186.9 kB / 2.397 GB, free: 87.78 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002211/6.773, allocations: 79.23 kB / 2.397 GB, free: 87.78 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 129 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 40,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.0004608/6.774, allocations: 160.9 kB / 2.397 GB, free: 87.66 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005257/6.774, allocations: 281.2 kB / 2.398 GB, free: 87.51 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004742/6.779, allocations: 2.337 MB / 2.4 GB, free: 87.36 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.599e-05/6.779, allocations: 13.53 kB / 2.4 GB, free: 87.36 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/6.779, allocations: 3.906 kB / 2.4 GB, free: 87.36 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002676/6.782, allocations: 1.893 MB / 2.402 GB, free: 86.93 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007978/6.79, allocations: 3.943 MB / 2.406 GB, free: 86.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.144e-06/6.79, allocations: 3.219 kB / 2.406 GB, free: 86.45 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008512/6.791, allocations: 187.2 kB / 2.406 GB, free: 86.43 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007487/6.791, allocations: 385.7 kB / 2.406 GB, free: 86.41 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.617e-05/6.791, allocations: 16.91 kB / 2.406 GB, free: 86.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001441/6.793, allocations: 1.914 MB / 2.408 GB, free: 85.36 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/6.793, allocations: 0 / 2.408 GB, free: 85.36 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004523/6.797, allocations: 2.906 MB / 2.411 GB, free: 84.87 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005716/6.803, allocations: 4.152 MB / 2.415 GB, free: 84.02 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00169/6.805, allocations: 499.5 kB / 2.415 GB, free: 83.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003977/6.805, allocations: 7.438 kB / 2.415 GB, free: 83.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001366/6.807, allocations: 123.9 kB / 2.416 GB, free: 83.74 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001792/6.807, allocations: 81.53 kB / 2.416 GB, free: 83.74 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001005/6.807, allocations: 47.53 kB / 2.416 GB, free: 83.74 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0026/6.809, allocations: 1.717 MB / 2.417 GB, free: 83.6 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.006854/6.816, allocations: 1.646 MB / 2.419 GB, free: 83.42 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 5,1 40} Notification: Performance of Backend phase and start with SimCode phase: time 0.002064/6.818, allocations: 1.046 MB / 2.42 GB, free: 83.16 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0046/6.823, allocations: 2.721 MB / 2.423 GB, free: 82.83 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/6.823, allocations: 0 / 2.423 GB, free: 82.83 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001031/6.824, allocations: 0.6837 MB / 2.423 GB, free: 82.82 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005328/6.829, allocations: 1.01 MB / 2.424 GB, free: 82.8 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008179/6.838, allocations: 4.075 MB / 2.428 GB, free: 81.87 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001866/6.84, allocations: 2.344 MB / 2.431 GB, free: 81.13 MB / 0.7136 GB Notification: Performance of SimCode: time 8.42e-07/6.84, allocations: 0 / 2.431 GB, free: 81.13 MB / 0.7136 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_Example1v1_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_Example1v1.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.pipe 2>&1)