Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic,fileNamePrefix="IDEAS_dev_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.003144/0.003144, allocations: 180.5 kB / 7.459 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.7112/0.7112, 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.586/1.586, allocations: 221.3 MB / 395 MB, free: 10.16 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.001051/0.001051, allocations: 110.5 kB / 477.8 MB, free: 10.77 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4839/0.485, allocations: 88.41 MB / 0.5529 GB, free: 89.19 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1783/0.6634, allocations: 82.3 MB / 0.6333 GB, free: 13.99 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.896/4.56, allocations: 1.849 GB / 2.482 GB, free: 114.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003969/4.56, allocations: 83.95 kB / 2.482 GB, free: 114.6 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.404/7.964, allocations: 0.9757 GB / 3.458 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/7.964, allocations: 7.75 kB / 3.458 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001347/7.965, allocations: 234.8 kB / 3.458 GB, free: 138.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00258/7.968, allocations: 0.8857 MB / 3.459 GB, free: 137.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.005e-05/7.968, allocations: 11.38 kB / 3.459 GB, free: 137.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.12e-05/7.968, allocations: 26.89 kB / 3.459 GB, free: 137.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006194/7.969, allocations: 339.9 kB / 3.46 GB, free: 137.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006794/7.969, allocations: 449.2 kB / 3.46 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/7.969, allocations: 3.375 kB / 3.46 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.215e-05/7.969, allocations: 0 / 3.46 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.904e-05/7.97, allocations: 20.28 kB / 3.46 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003166/7.973, allocations: 2.249 MB / 3.462 GB, free: 136.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003705/7.973, allocations: 245.8 kB / 3.463 GB, free: 136.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001816/7.973, allocations: 121.7 kB / 3.463 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001125/7.974, allocations: 0.8271 MB / 3.463 GB, free: 135.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002632/7.975, allocations: 199.2 kB / 3.464 GB, free: 135.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=27): time 3.376e-06/7.975, allocations: 0 / 3.464 GB, free: 135.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=27): time 0.001233/7.976, allocations: 416.5 kB / 3.464 GB, free: 135.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.216e-05/7.976, allocations: 107.6 kB / 3.464 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005275/7.977, allocations: 457.5 kB / 3.465 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.583e-05/7.977, allocations: 36.73 kB / 3.465 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/7.977, allocations: 247.7 kB / 3.465 GB, free: 135 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.006e-05/7.977, allocations: 92.94 kB / 3.465 GB, free: 135 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.804e-05/7.977, allocations: 1.312 kB / 3.465 GB, free: 135 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001118/7.977, allocations: 362.9 kB / 3.465 GB, free: 134.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/7.977, allocations: 106.5 kB / 3.465 GB, free: 134.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002955/7.978, allocations: 297.9 kB / 3.466 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005154/7.978, allocations: 226.9 kB / 3.466 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/7.978, allocations: 3.969 kB / 3.466 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008616/7.979, allocations: 492.4 kB / 3.466 GB, free: 134.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005123/7.979, allocations: 1.833 MB / 3.468 GB, free: 132.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/7.979, allocations: 3.906 kB / 3.468 GB, free: 132.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.718e-05/7.98, allocations: 6.562 kB / 3.468 GB, free: 132.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000382/7.98, allocations: 87.28 kB / 3.468 GB, free: 132.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.634e-05/7.98, allocations: 11.25 kB / 3.468 GB, free: 132.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000476/7.98, allocations: 50.86 kB / 3.468 GB, free: 132.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-05/7.98, allocations: 23.5 kB / 3.468 GB, free: 132.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.616e-06/7.98, allocations: 3.594 kB / 3.468 GB, free: 132.5 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007795/7.981, allocations: 406.9 kB / 3.469 GB, free: 132.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/7.981, allocations: 6.375 kB / 3.469 GB, free: 132.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.506e-06/7.981, allocations: 7.5 kB / 3.469 GB, free: 132.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003893/7.982, allocations: 86.66 kB / 3.469 GB, free: 132.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/7.982, allocations: 13.19 kB / 3.469 GB, free: 132.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003269/7.982, allocations: 31.34 kB / 3.469 GB, free: 132.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.574e-05/7.982, allocations: 26.02 kB / 3.469 GB, free: 132.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.0001553/7.982, allocations: 126.5 kB / 3.469 GB, free: 132.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.114e-05/7.982, allocations: 54.66 kB / 3.469 GB, free: 132.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000867/7.983, allocations: 374.5 kB / 3.469 GB, free: 132.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.918e-06/7.983, allocations: 3.719 kB / 3.469 GB, free: 132.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/7.983, allocations: 0 / 3.469 GB, free: 132.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/7.983, allocations: 3.328 kB / 3.469 GB, free: 132.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001869/7.985, allocations: 1.183 MB / 3.471 GB, free: 131.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/7.985, allocations: 3.344 kB / 3.471 GB, free: 131.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002814/7.985, allocations: 44.39 kB / 3.471 GB, free: 131.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/7.986, allocations: 4.594 kB / 3.471 GB, free: 131.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.009e-05/7.986, allocations: 3.875 kB / 3.471 GB, free: 131.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.007e-05/7.986, allocations: 14.72 kB / 3.471 GB, free: 131.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.074e-06/7.986, allocations: 3.375 kB / 3.471 GB, free: 131.8 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001067/7.987, allocations: 0.7817 MB / 3.471 GB, free: 131.4 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001682/7.988, allocations: 1.38 MB / 3.473 GB, free: 130.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001984/7.989, allocations: 167.5 kB / 3.473 GB, free: 130.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.218e-05/7.989, allocations: 11.36 kB / 3.473 GB, free: 130.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002768/7.989, allocations: 12.91 kB / 3.473 GB, free: 130.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.151e-05/7.989, allocations: 24.81 kB / 3.473 GB, free: 130.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.39e-05/7.989, allocations: 11.38 kB / 3.473 GB, free: 130.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0004414/7.99, allocations: 348.6 kB / 3.473 GB, free: 130.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003306/7.993, allocations: 0.7289 MB / 3.474 GB, free: 130.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.002898/7.996, allocations: 1.792 MB / 3.476 GB, free: 130 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0008395/7.997, allocations: 491.2 kB / 3.476 GB, free: 130 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/7.997, allocations: 3.812 kB / 3.476 GB, free: 130 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001774/7.997, allocations: 135.2 kB / 3.476 GB, free: 130 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/7.998, allocations: 186.7 kB / 3.477 GB, free: 129.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005355/8.003, allocations: 1.648 MB / 3.478 GB, free: 129.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007683/8.004, allocations: 0.9692 MB / 3.479 GB, free: 128.9 MB / 0.6823 GB Notification: Performance of SimCode: time 1.031e-06/8.004, allocations: 0 / 3.479 GB, free: 128.9 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic.fmu > IDEAS_dev_IDEAS.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe 2>&1)