Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.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.Humidifiers.Validation.SprayAirWasher_X_dynamic,fileNamePrefix="IDEAS_IDEAS_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic,fileNamePrefix="IDEAS_IDEAS_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic",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.005535/0.005535, allocations: 187 kB / 7.46 MB, free: 2.52 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8036/0.8036, allocations: 133.5 MB / 141.4 MB, free: 15.73 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.653/1.653, allocations: 221.3 MB / 395 MB, free: 10.2 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.001024/0.001023, allocations: 101.6 kB / 477.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5362/0.5373, allocations: 88.42 MB / 0.5529 GB, free: 89.03 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2158/0.7531, allocations: 82.3 MB / 0.6333 GB, free: 14.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.56/5.313, allocations: 1.849 GB / 2.482 GB, free: 104 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002257/5.313, allocations: 84.73 kB / 2.482 GB, free: 103.9 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: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 3.402/8.715, allocations: 0.9757 GB / 3.458 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/8.715, allocations: 10.56 kB / 3.458 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001476/8.717, allocations: 231 kB / 3.458 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002738/8.719, allocations: 0.8807 MB / 3.459 GB, free: 136.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.384e-05/8.72, allocations: 11.81 kB / 3.459 GB, free: 136.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/8.72, allocations: 25.16 kB / 3.459 GB, free: 136.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007018/8.72, allocations: 339.9 kB / 3.46 GB, free: 136.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007035/8.721, allocations: 448 kB / 3.46 GB, free: 136.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/8.721, allocations: 3 kB / 3.46 GB, free: 136.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.264e-05/8.721, allocations: 3.938 kB / 3.46 GB, free: 136.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.028e-05/8.721, allocations: 22.2 kB / 3.46 GB, free: 136.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003174/8.724, allocations: 2.253 MB / 3.462 GB, free: 135.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003335/8.725, allocations: 249.5 kB / 3.463 GB, free: 135.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/8.725, allocations: 123 kB / 3.463 GB, free: 135.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009301/8.726, allocations: 0.8296 MB / 3.463 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002385/8.726, allocations: 200 kB / 3.464 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=27): time 2.785e-06/8.726, allocations: 0 / 3.464 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=27): time 0.001237/8.727, allocations: 414.4 kB / 3.464 GB, free: 134.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.954e-05/8.727, allocations: 110.1 kB / 3.464 GB, free: 134.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005946/8.728, allocations: 453 kB / 3.465 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.159e-05/8.728, allocations: 29.64 kB / 3.465 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001681/8.728, allocations: 244.7 kB / 3.465 GB, free: 134 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/8.728, allocations: 98.98 kB / 3.465 GB, free: 134 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.902e-05/8.728, allocations: 0 / 3.465 GB, free: 134 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001176/8.728, allocations: 365.1 kB / 3.465 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001674/8.729, allocations: 106.9 kB / 3.465 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002592/8.729, allocations: 287.8 kB / 3.466 GB, free: 133.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005238/8.729, allocations: 227.6 kB / 3.466 GB, free: 133.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/8.729, allocations: 3.875 kB / 3.466 GB, free: 133.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000974/8.73, allocations: 491 kB / 3.466 GB, free: 133.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004692/8.731, allocations: 1.829 MB / 3.468 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.232e-05/8.731, allocations: 8.5 kB / 3.468 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.566e-05/8.731, allocations: 7.781 kB / 3.468 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004679/8.731, allocations: 84.86 kB / 3.468 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.548e-05/8.732, allocations: 11.88 kB / 3.468 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000541/8.732, allocations: 47.55 kB / 3.468 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-05/8.732, allocations: 23.91 kB / 3.468 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/8.732, allocations: 7.719 kB / 3.468 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00123/8.733, allocations: 408.9 kB / 3.469 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/8.733, allocations: 4.438 kB / 3.469 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.337e-05/8.733, allocations: 8.156 kB / 3.469 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004694/8.734, allocations: 86.56 kB / 3.469 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.197e-05/8.734, allocations: 14.2 kB / 3.469 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005535/8.735, allocations: 41.38 kB / 3.469 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.56e-05/8.735, allocations: 21.28 kB / 3.469 GB, free: 131.5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.XSet.nextTimeEvent,XSet.nextTimeEvent,$PRE.XSet.nextTimeEventScaled,XSet.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 49 * Array equations: 0 * 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.0001618/8.735, allocations: 129.5 kB / 3.469 GB, free: 131.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/8.735, allocations: 56.23 kB / 3.469 GB, free: 131.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009126/8.736, allocations: 374.6 kB / 3.469 GB, free: 131.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/8.736, allocations: 5.188 kB / 3.469 GB, free: 131.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/8.736, allocations: 1.062 kB / 3.469 GB, free: 131.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.393e-06/8.736, allocations: 1.125 kB / 3.469 GB, free: 131.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002086/8.738, allocations: 1.181 MB / 3.471 GB, free: 130.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/8.738, allocations: 2.281 kB / 3.471 GB, free: 130.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002822/8.738, allocations: 45.34 kB / 3.471 GB, free: 130.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.007e-06/8.738, allocations: 2.906 kB / 3.471 GB, free: 130.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.176e-05/8.738, allocations: 9.5 kB / 3.471 GB, free: 130.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.077e-06/8.738, allocations: 13.92 kB / 3.471 GB, free: 130.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/8.738, allocations: 2.562 kB / 3.471 GB, free: 130.8 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001196/8.74, allocations: 0.7811 MB / 3.471 GB, free: 130.4 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001774/8.741, allocations: 1.378 MB / 3.473 GB, free: 129.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002925/8.742, allocations: 163.6 kB / 3.473 GB, free: 129.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001329/8.742, allocations: 12.3 kB / 3.473 GB, free: 129.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000336/8.742, allocations: 14.89 kB / 3.473 GB, free: 129.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.747e-05/8.742, allocations: 21.8 kB / 3.473 GB, free: 129.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.544e-05/8.742, allocations: 14.42 kB / 3.473 GB, free: 129.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0005096/8.743, allocations: 346.6 kB / 3.473 GB, free: 129.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003858/8.747, allocations: 0.7265 MB / 3.474 GB, free: 129.4 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (hum.outCon.T,hum.outCon.Xi) * Number of discrete variables: 3 ($whenCondition1,XSet.nextTimeEvent,XSet.nextTimeEventScaled) * Number of discrete states: 2 (XSet.nextTimeEvent,XSet.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.004054/8.751, allocations: 1.783 MB / 3.476 GB, free: 128.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00156/8.752, allocations: 495.3 kB / 3.476 GB, free: 128.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.116e-05/8.752, allocations: 1.219 kB / 3.476 GB, free: 128.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000358/8.753, allocations: 138.8 kB / 3.476 GB, free: 128.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001589/8.754, allocations: 184.9 kB / 3.477 GB, free: 128.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00561/8.76, allocations: 1.65 MB / 3.478 GB, free: 128.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008983/8.761, allocations: 0.9679 MB / 3.479 GB, free: 127.8 MB / 0.6823 GB Notification: Performance of SimCode: time 2.084e-06/8.761, allocations: 0 / 3.479 GB, free: 127.8 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; mkfifo IDEAS_IDEAS.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe >> ../files/IDEAS_IDEAS.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic.fmu > IDEAS_IDEAS.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe 2>&1)