Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_Movers_Examples_PumpWithPulseControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Examples.PumpWithPulseControl,fileNamePrefix="IDEAS_dev_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.004012/0.004012, allocations: 184 kB / 7.462 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.6913/0.6913, allocations: 133.5 MB / 141.4 MB, free: 15.72 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.426/1.426, allocations: 221.3 MB / 395 MB, free: 10.21 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.0009409/0.0009409, allocations: 103 kB / 477.8 MB, free: 10.88 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4382/0.4391, allocations: 88.41 MB / 0.5529 GB, free: 89.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.6139, allocations: 82.31 MB / 0.6333 GB, free: 14.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.139/1.753, allocations: 359.2 MB / 0.9841 GB, free: 260 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003466/1.754, allocations: 92.67 kB / 0.9841 GB, free: 260 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.9581/2.712, allocations: 296.4 MB / 1.274 GB, free: 146.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/2.712, allocations: 10.25 kB / 1.274 GB, free: 146.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009579/2.713, allocations: 192.1 kB / 1.274 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01444/2.727, allocations: 6.457 MB / 1.28 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.054e-05/2.727, allocations: 29.31 kB / 1.28 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.722e-05/2.728, allocations: 38.66 kB / 1.28 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008776/2.728, allocations: 464.2 kB / 1.281 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009729/2.729, allocations: 0.5806 MB / 1.281 GB, free: 145.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.411e-05/2.729, allocations: 0 / 1.281 GB, free: 145.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.59e-05/2.729, allocations: 3.938 kB / 1.281 GB, free: 145.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.347e-05/2.73, allocations: 15.44 kB / 1.281 GB, free: 145.7 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004258/2.734, allocations: 2.722 MB / 1.284 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006456/2.734, allocations: 336.2 kB / 1.284 GB, free: 144.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002755/2.735, allocations: 165.5 kB / 1.284 GB, free: 144.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002304/2.737, allocations: 1.478 MB / 1.286 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003908/2.737, allocations: 219.5 kB / 1.286 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=33): time 5.15e-06/2.737, allocations: 3.281 kB / 1.286 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.001414/2.739, allocations: 444 kB / 1.286 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/2.739, allocations: 55.03 kB / 1.286 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/2.74, allocations: 0.6816 MB / 1.287 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.156e-05/2.74, allocations: 28.58 kB / 1.287 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003653/2.74, allocations: 342.2 kB / 1.287 GB, free: 143 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001286/2.741, allocations: 106 kB / 1.288 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.869e-05/2.741, allocations: 7.531 kB / 1.288 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001478/2.741, allocations: 327.6 kB / 1.288 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002753/2.741, allocations: 150.8 kB / 1.288 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004823/2.742, allocations: 385.3 kB / 1.288 GB, free: 142.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009137/2.742, allocations: 254.5 kB / 1.289 GB, free: 142.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/2.742, allocations: 2.906 kB / 1.289 GB, free: 142.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0014/2.744, allocations: 0.6178 MB / 1.289 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000804/2.745, allocations: 2.275 MB / 1.291 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/2.745, allocations: 3.906 kB / 1.291 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.044e-05/2.745, allocations: 10.97 kB / 1.291 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006408/2.745, allocations: 142.2 kB / 1.292 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.95e-05/2.745, allocations: 14.77 kB / 1.292 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007867/2.746, allocations: 82.75 kB / 1.292 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.719e-05/2.746, allocations: 36.03 kB / 1.292 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.566e-06/2.746, allocations: 3.969 kB / 1.292 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001113/2.747, allocations: 478.4 kB / 1.292 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/2.747, allocations: 7.062 kB / 1.292 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.978e-06/2.748, allocations: 11.58 kB / 1.292 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004793/2.748, allocations: 130.2 kB / 1.292 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/2.748, allocations: 18.38 kB / 1.292 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005617/2.749, allocations: 62.59 kB / 1.292 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.998e-05/2.749, allocations: 38.62 kB / 1.292 GB, free: 139.9 MB / 0.6823 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.0001745/2.749, allocations: 120.6 kB / 1.293 GB, free: 139.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/2.749, allocations: 87.06 kB / 1.293 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001359/2.75, allocations: 0.5915 MB / 1.293 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.464e-05/2.75, allocations: 10.17 kB / 1.293 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/2.75, allocations: 0 / 1.293 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007657/2.751, allocations: 0.6093 MB / 1.294 GB, free: 139.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002018/2.753, allocations: 1.254 MB / 1.295 GB, free: 139 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/2.753, allocations: 0 / 1.295 GB, free: 139 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004225/2.754, allocations: 89.16 kB / 1.295 GB, free: 139 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/2.754, allocations: 3.875 kB / 1.295 GB, free: 139 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.404e-05/2.754, allocations: 9.672 kB / 1.295 GB, free: 139 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/2.754, allocations: 3.875 kB / 1.295 GB, free: 139 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/2.754, allocations: 1.266 kB / 1.295 GB, free: 139 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001159/2.755, allocations: 0.8382 MB / 1.296 GB, free: 138.7 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001541/2.756, allocations: 1.462 MB / 1.297 GB, free: 138 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002787/2.757, allocations: 215.8 kB / 1.298 GB, free: 137.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001223/2.757, allocations: 3.594 kB / 1.298 GB, free: 137.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005069/2.757, allocations: 40.2 kB / 1.298 GB, free: 137.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.571e-05/2.757, allocations: 37.41 kB / 1.298 GB, free: 137.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.945e-05/2.757, allocations: 18.11 kB / 1.298 GB, free: 137.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.000714/2.758, allocations: 0.52 MB / 1.298 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003487/2.762, allocations: 0.7379 MB / 1.299 GB, free: 137.7 MB / 0.6823 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.001339/2.763, allocations: 0.745 MB / 1.3 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001432/2.765, allocations: 0.7361 MB / 1.3 GB, free: 137.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/2.765, allocations: 0 / 1.3 GB, free: 137.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002987/2.765, allocations: 203.6 kB / 1.301 GB, free: 137.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001545/2.766, allocations: 377.5 kB / 1.301 GB, free: 137.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002492/2.769, allocations: 1.219 MB / 1.302 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007886/2.77, allocations: 1.166 MB / 1.303 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of SimCode: time 7.41e-07/2.77, allocations: 3.188 kB / 1.303 GB, free: 136.4 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Movers_Examples_PumpWithPulseControl_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Movers_Examples_PumpWithPulseControl.fmu > IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe 2>&1)