Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.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.Movers.Examples.PumpExample,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Movers_Examples_PumpExample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Examples.PumpExample,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Movers_Examples_PumpExample",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.003248/0.003248, allocations: 183 kB / 7.461 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7419/0.7419, allocations: 133.5 MB / 141.4 MB, free: 15.7 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.461/1.461, allocations: 221.3 MB / 395 MB, free: 10.25 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.001152/0.001152, allocations: 94.34 kB / 477.8 MB, free: 10.86 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4622/0.4634, allocations: 88.43 MB / 0.5529 GB, free: 89.03 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1807/0.6441, allocations: 82.3 MB / 0.6333 GB, free: 14.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.152/1.796, allocations: 359.7 MB / 0.9846 GB, free: 260.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002357/1.797, allocations: 89.31 kB / 0.9847 GB, free: 260.1 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 1.013/2.81, allocations: 298.8 MB / 1.276 GB, free: 147.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/2.81, allocations: 7.219 kB / 1.276 GB, free: 147.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009748/2.811, allocations: 202.8 kB / 1.277 GB, free: 147.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01456/2.826, allocations: 6.504 MB / 1.283 GB, free: 147.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.186e-05/2.826, allocations: 23.66 kB / 1.283 GB, free: 147.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/2.826, allocations: 48.34 kB / 1.283 GB, free: 147.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000963/2.827, allocations: 490.8 kB / 1.284 GB, free: 147.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000898/2.828, allocations: 0.6092 MB / 1.284 GB, free: 147.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/2.828, allocations: 3.375 kB / 1.284 GB, free: 147.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.833e-05/2.828, allocations: 3.344 kB / 1.284 GB, free: 147.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.822e-05/2.828, allocations: 20.12 kB / 1.284 GB, free: 147.1 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00411/2.832, allocations: 2.868 MB / 1.287 GB, free: 146 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006662/2.833, allocations: 414.3 kB / 1.287 GB, free: 146 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002679/2.833, allocations: 199 kB / 1.288 GB, free: 146 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001932/2.835, allocations: 1.528 MB / 1.289 GB, free: 145 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003318/2.835, allocations: 228 kB / 1.289 GB, free: 144.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=41): time 3.036e-06/2.835, allocations: 3.031 kB / 1.289 GB, free: 144.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=41): time 0.001246/2.836, allocations: 499.7 kB / 1.29 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/2.837, allocations: 60.81 kB / 1.29 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008868/2.837, allocations: 0.7088 MB / 1.29 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.545e-05/2.837, allocations: 25.7 kB / 1.29 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002654/2.838, allocations: 356.7 kB / 1.291 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001261/2.838, allocations: 131.3 kB / 1.291 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.799e-05/2.838, allocations: 1.688 kB / 1.291 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.129e-05/2.838, allocations: 334.7 kB / 1.291 GB, free: 144 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002527/2.838, allocations: 171.8 kB / 1.291 GB, free: 144 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003485/2.839, allocations: 414.6 kB / 1.292 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008468/2.839, allocations: 293.1 kB / 1.292 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/2.839, allocations: 0 / 1.292 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001316/2.841, allocations: 0.6814 MB / 1.293 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004098/2.841, allocations: 2.347 MB / 1.295 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/2.841, allocations: 7.625 kB / 1.295 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/2.841, allocations: 10.22 kB / 1.295 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000648/2.842, allocations: 158.4 kB / 1.295 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/2.842, allocations: 18.42 kB / 1.295 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000743/2.843, allocations: 79.55 kB / 1.295 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.358e-05/2.843, allocations: 37.83 kB / 1.295 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.332e-06/2.843, allocations: 3.938 kB / 1.295 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001126/2.844, allocations: 0.5167 MB / 1.296 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/2.844, allocations: 7.188 kB / 1.296 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.426e-06/2.844, allocations: 11.66 kB / 1.296 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005336/2.844, allocations: 148.7 kB / 1.296 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/2.844, allocations: 14.69 kB / 1.296 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006065/2.845, allocations: 65.19 kB / 1.296 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-05/2.845, allocations: 36.98 kB / 1.296 GB, free: 141.2 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * Array equations: 1 * 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.0001459/2.845, allocations: 124.5 kB / 1.296 GB, free: 141.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/2.845, allocations: 100.6 kB / 1.296 GB, free: 141 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001447/2.847, allocations: 0.6398 MB / 1.297 GB, free: 141 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.324e-05/2.847, allocations: 14.38 kB / 1.297 GB, free: 141 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/2.847, allocations: 0 / 1.297 GB, free: 141 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000813/2.848, allocations: 0.6653 MB / 1.298 GB, free: 140.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002142/2.85, allocations: 1.363 MB / 1.299 GB, free: 140.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/2.85, allocations: 0 / 1.299 GB, free: 140.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004992/2.85, allocations: 102.3 kB / 1.299 GB, free: 140.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.101e-05/2.85, allocations: 3.781 kB / 1.299 GB, free: 140.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.367e-05/2.851, allocations: 10.36 kB / 1.299 GB, free: 140.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.648e-06/2.851, allocations: 7.797 kB / 1.299 GB, free: 140.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/2.851, allocations: 0 / 1.299 GB, free: 140.3 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00128/2.852, allocations: 0.9216 MB / 1.3 GB, free: 140 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001648/2.853, allocations: 1.585 MB / 1.302 GB, free: 139.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003863/2.854, allocations: 228.7 kB / 1.302 GB, free: 139.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001805/2.854, allocations: 9.438 kB / 1.302 GB, free: 139.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006345/2.855, allocations: 35.53 kB / 1.302 GB, free: 139.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.232e-05/2.855, allocations: 36.7 kB / 1.302 GB, free: 139.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.448e-05/2.855, allocations: 24.41 kB / 1.302 GB, free: 139.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0009446/2.856, allocations: 0.538 MB / 1.302 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004317/2.86, allocations: 0.7344 MB / 1.303 GB, free: 139 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (pump.vol.dynBal.U,pump.filter.s[1],pump.filter.s[2]) * Number of discrete variables: 3 ($whenCondition1,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 1 * 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.002259/2.862, allocations: 0.7431 MB / 1.304 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001542/2.864, allocations: 0.7762 MB / 1.305 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/2.864, allocations: 0 / 1.305 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00037/2.864, allocations: 220.8 kB / 1.305 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002014/2.866, allocations: 397 kB / 1.305 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003694/2.87, allocations: 1.368 MB / 1.307 GB, free: 138.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001165/2.871, allocations: 1.207 MB / 1.308 GB, free: 137.7 MB / 0.6823 GB Notification: Performance of SimCode: time 1.012e-06/2.871, allocations: 0 / 1.308 GB, free: 137.7 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Movers_Examples_PumpExample_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Movers_Examples_PumpExample.fmu > IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.pipe 2>&1)