Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Humidifiers.Validation.SprayAirWasher_X.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,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Humidifiers_Validation_SprayAirWasher_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Humidifiers.Validation.SprayAirWasher_X,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Humidifiers_Validation_SprayAirWasher_X",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.002975/0.002975, allocations: 186.6 kB / 7.46 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.741/0.741, allocations: 133.5 MB / 141.4 MB, free: 15.66 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.399/1.399, allocations: 221.3 MB / 395 MB, free: 10.22 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.000933/0.0009328, allocations: 90.41 kB / 477.8 MB, free: 10.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.386/0.387, allocations: 88.43 MB / 0.5529 GB, free: 89.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1711/0.5581, allocations: 82.3 MB / 0.6333 GB, free: 14.01 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.135/4.693, allocations: 1.849 GB / 2.482 GB, free: 77.07 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004198/4.694, allocations: 91.69 kB / 2.482 GB, free: 77.03 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 1.948/6.642, allocations: 0.6054 GB / 3.088 GB, free: 224 kB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/6.642, allocations: 8 kB / 3.088 GB, free: 216 kB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3566/6.999, allocations: 230.4 kB / 3.088 GB, free: 208.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003081/7.002, allocations: 0.8907 MB / 3.089 GB, free: 208.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.942e-05/7.002, allocations: 11.44 kB / 3.089 GB, free: 208.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.287e-05/7.002, allocations: 26.25 kB / 3.089 GB, free: 208.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006976/7.003, allocations: 346.4 kB / 3.089 GB, free: 208.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006419/7.003, allocations: 436.5 kB / 3.09 GB, free: 208.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/7.003, allocations: 4.938 kB / 3.09 GB, free: 208.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.885e-05/7.003, allocations: 0 / 3.09 GB, free: 208.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.751e-05/7.004, allocations: 16.05 kB / 3.09 GB, free: 208.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002834/7.006, allocations: 2.236 MB / 3.092 GB, free: 207.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003252/7.007, allocations: 228.8 kB / 3.092 GB, free: 207.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001709/7.007, allocations: 120 kB / 3.092 GB, free: 207.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001022/7.008, allocations: 0.8323 MB / 3.093 GB, free: 206.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002236/7.008, allocations: 191.7 kB / 3.093 GB, free: 206.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=25): time 2.394e-06/7.008, allocations: 0 / 3.093 GB, free: 206.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=25): time 0.001074/7.009, allocations: 404 kB / 3.094 GB, free: 206.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/7.009, allocations: 110.2 kB / 3.094 GB, free: 206.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004697/7.01, allocations: 456.4 kB / 3.094 GB, free: 206 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.86e-05/7.01, allocations: 29.61 kB / 3.094 GB, free: 206 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/7.01, allocations: 253.2 kB / 3.094 GB, free: 205.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.793e-05/7.01, allocations: 83.09 kB / 3.094 GB, free: 205.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.65e-05/7.01, allocations: 0 / 3.094 GB, free: 205.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001037/7.01, allocations: 361.2 kB / 3.095 GB, free: 205.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001549/7.01, allocations: 103.5 kB / 3.095 GB, free: 205.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002263/7.011, allocations: 282.3 kB / 3.095 GB, free: 205.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004395/7.011, allocations: 218.6 kB / 3.095 GB, free: 205.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/7.011, allocations: 0 / 3.095 GB, free: 205.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007681/7.012, allocations: 473 kB / 3.096 GB, free: 205.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000354/7.012, allocations: 1.833 MB / 3.098 GB, free: 203.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/7.012, allocations: 9.359 kB / 3.098 GB, free: 203.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.887e-05/7.012, allocations: 6.938 kB / 3.098 GB, free: 203.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003272/7.013, allocations: 84.84 kB / 3.098 GB, free: 203.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.547e-06/7.013, allocations: 6.625 kB / 3.098 GB, free: 203.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000404/7.013, allocations: 48.45 kB / 3.098 GB, free: 203.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.166e-05/7.013, allocations: 22.8 kB / 3.098 GB, free: 203.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.67e-06/7.013, allocations: 3.906 kB / 3.098 GB, free: 203.3 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006647/7.014, allocations: 388.1 kB / 3.098 GB, free: 203.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/7.014, allocations: 3.406 kB / 3.098 GB, free: 203.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.412e-06/7.014, allocations: 7.312 kB / 3.098 GB, free: 203.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003007/7.014, allocations: 84.62 kB / 3.098 GB, free: 203.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/7.014, allocations: 12.94 kB / 3.098 GB, free: 203.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003088/7.014, allocations: 34.47 kB / 3.098 GB, free: 203.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.669e-05/7.014, allocations: 25.53 kB / 3.098 GB, free: 203.3 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 (45): * Single equations (assignments): 45 * 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.0001141/7.015, allocations: 119.7 kB / 3.098 GB, free: 203.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.637e-05/7.015, allocations: 57.38 kB / 3.098 GB, free: 203.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007257/7.015, allocations: 374.2 kB / 3.099 GB, free: 203.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/7.015, allocations: 3.438 kB / 3.099 GB, free: 203.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/7.015, allocations: 0 / 3.099 GB, free: 203.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/7.015, allocations: 3.25 kB / 3.099 GB, free: 203.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001492/7.017, allocations: 1.141 MB / 3.1 GB, free: 202.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/7.017, allocations: 10.97 kB / 3.1 GB, free: 202.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002038/7.017, allocations: 48.66 kB / 3.1 GB, free: 202.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/7.017, allocations: 3.812 kB / 3.1 GB, free: 202.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.353e-05/7.017, allocations: 7.719 kB / 3.1 GB, free: 202.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/7.017, allocations: 7.281 kB / 3.1 GB, free: 202.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/7.017, allocations: 0 / 3.1 GB, free: 202.6 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006885/7.018, allocations: 0.6286 MB / 3.101 GB, free: 202.2 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000972/7.019, allocations: 1.074 MB / 3.102 GB, free: 201.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001671/7.019, allocations: 163.2 kB / 3.102 GB, free: 201.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.087e-05/7.019, allocations: 7.562 kB / 3.102 GB, free: 201.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002619/7.019, allocations: 15.16 kB / 3.102 GB, free: 201.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.95e-05/7.019, allocations: 22.89 kB / 3.102 GB, free: 201.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-05/7.019, allocations: 7.656 kB / 3.102 GB, free: 201.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0003281/7.02, allocations: 349.3 kB / 3.102 GB, free: 201.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002803/7.023, allocations: 0.7185 MB / 3.103 GB, free: 201.2 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * 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 (26): * Single equations (assignments): 24 * 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.002528/7.025, allocations: 1.785 MB / 3.105 GB, free: 200.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006879/7.026, allocations: 461.5 kB / 3.105 GB, free: 200.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/7.026, allocations: 0 / 3.105 GB, free: 200.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001554/7.026, allocations: 125.8 kB / 3.105 GB, free: 200.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000927/7.027, allocations: 181.8 kB / 3.105 GB, free: 200.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003606/7.031, allocations: 1.533 MB / 3.107 GB, free: 200.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004457/7.031, allocations: 0.9607 MB / 3.108 GB, free: 199.9 MB / 0.6823 GB Notification: Performance of SimCode: time 4.21e-07/7.031, allocations: 0 / 3.108 GB, free: 199.9 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Humidifiers.Validation.SprayAirWasher_X.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Humidifiers_Validation_SprayAirWasher_X_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Humidifiers_Validation_SprayAirWasher_X.fmu > IDEAS_dev_IDEAS.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe 2>&1)