Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.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.PumpWithPulseControl,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Examples_PumpWithPulseControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Examples.PumpWithPulseControl,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Examples_PumpWithPulseControl",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.004385/0.004385, allocations: 182.9 kB / 7.461 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.7488/0.7488, allocations: 133.5 MB / 141.4 MB, free: 15.69 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.538/1.538, allocations: 221.3 MB / 395 MB, free: 10.19 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.00111/0.00111, allocations: 106.4 kB / 477.8 MB, free: 10.83 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5015/0.5026, allocations: 88.42 MB / 0.5529 GB, free: 68.21 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.746, allocations: 82.31 MB / 0.6333 GB, free: 2.355 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7871/1.533, allocations: 359.2 MB / 0.9841 GB, free: 7.668 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002518/1.533, allocations: 88.08 kB / 0.9842 GB, free: 7.625 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.9566/2.49, allocations: 296.3 MB / 1.274 GB, free: 34.92 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.978e-05/2.49, allocations: 8 kB / 1.274 GB, free: 34.91 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/2.491, allocations: 206.3 kB / 1.274 GB, free: 34.71 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01437/2.506, allocations: 6.464 MB / 1.28 GB, free: 28.14 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.321e-05/2.506, allocations: 23.94 kB / 1.28 GB, free: 28.12 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/2.506, allocations: 43.98 kB / 1.28 GB, free: 28.08 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009424/2.507, allocations: 462.5 kB / 1.281 GB, free: 27.63 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008162/2.508, allocations: 0.5785 MB / 1.281 GB, free: 27.02 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/2.508, allocations: 0 / 1.281 GB, free: 27.02 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.574e-05/2.508, allocations: 4 kB / 1.281 GB, free: 27.02 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/2.508, allocations: 16 kB / 1.281 GB, free: 27 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004102/2.512, allocations: 2.727 MB / 1.284 GB, free: 24.16 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004952/2.512, allocations: 339.6 kB / 1.284 GB, free: 23.82 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002008/2.513, allocations: 157.4 kB / 1.284 GB, free: 23.67 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001757/2.514, allocations: 1.486 MB / 1.286 GB, free: 22.01 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002655/2.515, allocations: 205.5 kB / 1.286 GB, free: 21.8 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=33): time 2.605e-06/2.515, allocations: 0 / 1.286 GB, free: 21.8 MB / 0.7292 GB Notification: Performance of matching and sorting (n=33): time 0.001148/2.516, allocations: 444.2 kB / 1.286 GB, free: 21.36 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.478e-05/2.516, allocations: 59.41 kB / 1.286 GB, free: 21.29 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008646/2.517, allocations: 0.6767 MB / 1.287 GB, free: 20.6 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.666e-05/2.517, allocations: 29.7 kB / 1.287 GB, free: 20.56 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002269/2.517, allocations: 347.4 kB / 1.287 GB, free: 20.22 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.612e-05/2.517, allocations: 110.4 kB / 1.288 GB, free: 20.11 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.596e-05/2.517, allocations: 0 / 1.288 GB, free: 20.11 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.928e-05/2.517, allocations: 326 kB / 1.288 GB, free: 19.79 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002213/2.517, allocations: 157.3 kB / 1.288 GB, free: 19.63 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002928/2.518, allocations: 377.8 kB / 1.288 GB, free: 19.16 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008045/2.518, allocations: 265.2 kB / 1.289 GB, free: 18.9 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/2.519, allocations: 0 / 1.289 GB, free: 18.9 MB / 0.7292 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00123/2.52, allocations: 0.6179 MB / 1.289 GB, free: 18.27 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004144/2.52, allocations: 2.27 MB / 1.291 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/2.52, allocations: 8 kB / 1.291 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.249e-05/2.52, allocations: 8 kB / 1.291 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000586/2.521, allocations: 131.8 kB / 1.292 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/2.521, allocations: 15.98 kB / 1.292 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007545/2.522, allocations: 79.39 kB / 1.292 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-05/2.522, allocations: 43.98 kB / 1.292 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.504e-06/2.522, allocations: 7.938 kB / 1.292 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001067/2.523, allocations: 480.2 kB / 1.292 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/2.523, allocations: 15.83 kB / 1.292 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/2.523, allocations: 12 kB / 1.292 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004634/2.523, allocations: 123.8 kB / 1.292 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/2.523, allocations: 20.27 kB / 1.292 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006072/2.524, allocations: 67.5 kB / 1.292 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.133e-05/2.524, allocations: 35.98 kB / 1.292 GB, free: 14.8 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 63 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001557/2.524, allocations: 120.8 kB / 1.293 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/2.524, allocations: 86.88 kB / 1.293 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001323/2.526, allocations: 0.5871 MB / 1.293 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/2.526, allocations: 4 kB / 1.293 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/2.526, allocations: 4 kB / 1.293 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000726/2.526, allocations: 0.6076 MB / 1.294 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001851/2.528, allocations: 1.244 MB / 1.295 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/2.528, allocations: 15.92 kB / 1.295 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000434/2.529, allocations: 83.88 kB / 1.295 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/2.529, allocations: 4 kB / 1.295 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.148e-05/2.529, allocations: 4 kB / 1.295 GB, free: 11.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.666e-06/2.529, allocations: 4 kB / 1.295 GB, free: 11.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/2.529, allocations: 11.92 kB / 1.295 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001088/2.53, allocations: 0.836 MB / 1.296 GB, free: 11 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00146/2.531, allocations: 1.462 MB / 1.297 GB, free: 9.477 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002978/2.532, allocations: 219.8 kB / 1.298 GB, free: 9.242 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/2.532, allocations: 0 / 1.298 GB, free: 9.242 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005077/2.532, allocations: 43.92 kB / 1.298 GB, free: 9.199 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.238e-05/2.532, allocations: 27.95 kB / 1.298 GB, free: 9.172 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.329e-05/2.532, allocations: 23.98 kB / 1.298 GB, free: 9.148 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0006319/2.533, allocations: 0.5226 MB / 1.298 GB, free: 8.633 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.003511/2.537, allocations: 0.733 MB / 1.299 GB, free: 7.898 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (pump.vol.dynBal.U) * 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 (41): * Single equations (assignments): 35 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001679/2.538, allocations: 0.74 MB / 1.3 GB, free: 7.16 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001371/2.54, allocations: 0.7313 MB / 1.3 GB, free: 6.414 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/2.54, allocations: 0 / 1.3 GB, free: 6.414 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002736/2.54, allocations: 215.5 kB / 1.301 GB, free: 6.203 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001905/2.542, allocations: 385 kB / 1.301 GB, free: 5.836 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002504/2.544, allocations: 1.22 MB / 1.302 GB, free: 4.574 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007174/2.545, allocations: 1.162 MB / 1.303 GB, free: 3.379 MB / 0.7292 GB Notification: Performance of SimCode: time 7.21e-07/2.545, allocations: 0 / 1.303 GB, free: 3.379 MB / 0.7292 GB (rm -f IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Movers_Examples_PumpWithPulseControl_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Movers_Examples_PumpWithPulseControl.fmu > IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe 2>&1)