Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_Movers_Examples_PumpExample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Examples.PumpExample,fileNamePrefix="IDEAS_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.00161/0.00161, allocations: 178.2 kB / 7.456 MB, free: 1.535 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7076/0.7076, allocations: 133.5 MB / 141.4 MB, free: 4.852 MB / 114.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 221.3 MB / 395 MB, free: 13.82 MB / 322.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009313/0.0009314, allocations: 106.7 kB / 477.8 MB, free: 11.11 MB / 402.8 MB Notification: Performance of FrontEnd - loaded program: time 0.3435/0.3444, allocations: 88.43 MB / 0.5529 GB, free: 49.89 MB / 402.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5025/0.8469, allocations: 82.3 MB / 0.6333 GB, free: 5.625 MB / 434.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7835/1.631, allocations: 359.7 MB / 0.9846 GB, free: 107.5 MB / 0.6433 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002253/1.631, allocations: 86.77 kB / 0.9847 GB, free: 107.4 MB / 0.6433 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 0.9835/2.614, allocations: 298.8 MB / 1.276 GB, free: 117.1 MB / 0.6746 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/2.614, allocations: 8 kB / 1.276 GB, free: 117.1 MB / 0.6746 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001025/2.615, allocations: 206.3 kB / 1.277 GB, free: 116.9 MB / 0.6746 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01489/2.63, allocations: 6.512 MB / 1.283 GB, free: 110.4 MB / 0.6746 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.056e-05/2.63, allocations: 20 kB / 1.283 GB, free: 110.3 MB / 0.6746 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/2.631, allocations: 47.94 kB / 1.283 GB, free: 110.3 MB / 0.6746 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001007/2.632, allocations: 490.5 kB / 1.284 GB, free: 109.8 MB / 0.6746 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009091/2.632, allocations: 0.6136 MB / 1.284 GB, free: 109.2 MB / 0.6746 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/2.633, allocations: 0 / 1.284 GB, free: 109.2 MB / 0.6746 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.895e-05/2.633, allocations: 11.89 kB / 1.284 GB, free: 109.2 MB / 0.6746 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.209e-05/2.633, allocations: 21.31 kB / 1.284 GB, free: 109.1 MB / 0.6746 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004111/2.637, allocations: 2.847 MB / 1.287 GB, free: 106.2 MB / 0.6746 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000653/2.637, allocations: 422.8 kB / 1.287 GB, free: 105.8 MB / 0.6746 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002393/2.638, allocations: 197.3 kB / 1.288 GB, free: 105.6 MB / 0.6746 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001773/2.639, allocations: 1.526 MB / 1.289 GB, free: 103.9 MB / 0.6746 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003547/2.64, allocations: 227.6 kB / 1.289 GB, free: 103.7 MB / 0.6746 GB Notification: Performance of pre-optimization done (n=41): time 3.336e-06/2.64, allocations: 4 kB / 1.289 GB, free: 103.7 MB / 0.6746 GB Notification: Performance of matching and sorting (n=41): time 0.001368/2.641, allocations: 0.4885 MB / 1.29 GB, free: 103.2 MB / 0.6746 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/2.641, allocations: 59.31 kB / 1.29 GB, free: 103.1 MB / 0.6746 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009706/2.642, allocations: 0.7101 MB / 1.29 GB, free: 102.4 MB / 0.6746 GB Notification: Performance of collectPreVariables (initialization): time 4.964e-05/2.642, allocations: 25.7 kB / 1.29 GB, free: 102.3 MB / 0.6746 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002564/2.643, allocations: 355.4 kB / 1.291 GB, free: 102 MB / 0.6746 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/2.643, allocations: 141 kB / 1.291 GB, free: 101.9 MB / 0.6746 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.829e-05/2.643, allocations: 4 kB / 1.291 GB, free: 101.9 MB / 0.6746 GB Notification: Performance of setup shared object (initialization): time 7.658e-05/2.643, allocations: 330 kB / 1.291 GB, free: 101.5 MB / 0.6746 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000241/2.643, allocations: 173.3 kB / 1.291 GB, free: 101.4 MB / 0.6746 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003269/2.643, allocations: 403.6 kB / 1.292 GB, free: 100.9 MB / 0.6746 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008392/2.644, allocations: 284.5 kB / 1.292 GB, free: 100.6 MB / 0.6746 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/2.644, allocations: 8 kB / 1.292 GB, free: 100.6 MB / 0.6746 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001402/2.646, allocations: 0.6739 MB / 1.293 GB, free: 99.89 MB / 0.6746 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004985/2.646, allocations: 2.358 MB / 1.295 GB, free: 97.35 MB / 0.6746 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/2.646, allocations: 8 kB / 1.295 GB, free: 97.34 MB / 0.6746 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/2.646, allocations: 8 kB / 1.295 GB, free: 97.33 MB / 0.6746 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006587/2.647, allocations: 155.8 kB / 1.295 GB, free: 97.18 MB / 0.6746 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.671e-05/2.647, allocations: 15.94 kB / 1.295 GB, free: 97.16 MB / 0.6746 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007631/2.648, allocations: 83.27 kB / 1.295 GB, free: 97.08 MB / 0.6746 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.668e-05/2.648, allocations: 35.98 kB / 1.295 GB, free: 97.05 MB / 0.6746 GB Notification: Performance of prepare postOptimizeDAE: time 6.792e-06/2.648, allocations: 7.938 kB / 1.295 GB, free: 97.04 MB / 0.6746 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001095/2.649, allocations: 0.5164 MB / 1.296 GB, free: 96.52 MB / 0.6746 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/2.649, allocations: 8 kB / 1.296 GB, free: 96.52 MB / 0.6746 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.646e-06/2.649, allocations: 8.812 kB / 1.296 GB, free: 96.51 MB / 0.6746 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005382/2.649, allocations: 151.8 kB / 1.296 GB, free: 96.36 MB / 0.6746 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/2.649, allocations: 15.92 kB / 1.296 GB, free: 96.34 MB / 0.6746 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005809/2.65, allocations: 67.56 kB / 1.296 GB, free: 96.28 MB / 0.6746 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.367e-05/2.65, allocations: 35.98 kB / 1.296 GB, free: 96.24 MB / 0.6746 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.0001399/2.65, allocations: 121.1 kB / 1.296 GB, free: 96.12 MB / 0.6746 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/2.65, allocations: 94.78 kB / 1.296 GB, free: 96.02 MB / 0.6746 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001387/2.652, allocations: 0.6525 MB / 1.297 GB, free: 95.36 MB / 0.6746 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-05/2.652, allocations: 4 kB / 1.297 GB, free: 95.36 MB / 0.6746 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/2.652, allocations: 0 / 1.297 GB, free: 95.36 MB / 0.6746 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000808/2.653, allocations: 0.668 MB / 1.298 GB, free: 94.62 MB / 0.6746 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002273/2.655, allocations: 1.368 MB / 1.299 GB, free: 93.21 MB / 0.6746 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/2.655, allocations: 0 / 1.299 GB, free: 93.21 MB / 0.6746 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004986/2.655, allocations: 87.88 kB / 1.299 GB, free: 93.12 MB / 0.6746 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.137e-06/2.655, allocations: 4 kB / 1.299 GB, free: 93.12 MB / 0.6746 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.766e-05/2.655, allocations: 11.98 kB / 1.299 GB, free: 93.11 MB / 0.6746 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/2.655, allocations: 7.984 kB / 1.299 GB, free: 93.1 MB / 0.6746 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/2.655, allocations: 12.03 kB / 1.299 GB, free: 93.09 MB / 0.6746 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001181/2.657, allocations: 0.9237 MB / 1.3 GB, free: 92.11 MB / 0.6746 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001616/2.658, allocations: 1.578 MB / 1.302 GB, free: 90.48 MB / 0.6746 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003497/2.659, allocations: 231.7 kB / 1.302 GB, free: 90.23 MB / 0.6746 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001267/2.659, allocations: 4 kB / 1.302 GB, free: 90.23 MB / 0.6746 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005333/2.659, allocations: 39.91 kB / 1.302 GB, free: 90.19 MB / 0.6746 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.478e-05/2.659, allocations: 35.8 kB / 1.302 GB, free: 90.15 MB / 0.6746 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.484e-05/2.659, allocations: 23.98 kB / 1.302 GB, free: 90.13 MB / 0.6746 GB Notification: Performance of sort global known variables: time 0.0006822/2.66, allocations: 0.5434 MB / 1.302 GB, free: 89.57 MB / 0.6746 GB Notification: Performance of remove unused functions: time 0.003227/2.663, allocations: 0.7369 MB / 1.303 GB, free: 88.84 MB / 0.6746 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.00144/2.665, allocations: 0.7455 MB / 1.304 GB, free: 88.14 MB / 0.6746 GB Notification: Performance of simCode: created initialization part: time 0.001355/2.666, allocations: 0.7675 MB / 1.305 GB, free: 87.38 MB / 0.6746 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/2.666, allocations: 3.938 kB / 1.305 GB, free: 87.37 MB / 0.6746 GB Notification: Performance of simCode: created simulation system equations: time 0.0003025/2.667, allocations: 226.4 kB / 1.305 GB, free: 87.15 MB / 0.6746 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001823/2.668, allocations: 386.2 kB / 1.305 GB, free: 86.78 MB / 0.6746 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002841/2.671, allocations: 1.371 MB / 1.307 GB, free: 85.37 MB / 0.6746 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007813/2.672, allocations: 1.203 MB / 1.308 GB, free: 84.14 MB / 0.6746 GB Notification: Performance of SimCode: time 1.833e-06/2.672, allocations: 4 kB / 1.308 GB, free: 84.13 MB / 0.6746 GB (rm -f IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Movers_Examples_PumpExample_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Movers_Examples_PumpExample.fmu > IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.pipe 2>&1)