Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_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.SteamHumidifier_X_dynamic,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Humidifiers_Validation_SteamHumidifier_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.003371/0.003371, allocations: 177.7 kB / 7.454 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6959/0.6959, allocations: 133.5 MB / 141.4 MB, free: 15.64 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.548/1.548, 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.001247/0.001248, allocations: 100.7 kB / 477.8 MB, free: 10.76 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4838/0.4851, allocations: 88.43 MB / 0.5529 GB, free: 89.17 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1899/0.6751, allocations: 82.31 MB / 0.6333 GB, free: 13.96 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.131/4.806, allocations: 1.85 GB / 2.484 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004293/4.806, allocations: 87.94 kB / 2.484 GB, free: 102.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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 1.956/6.762, allocations: 0.6062 GB / 3.09 GB, free: 19.14 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/6.762, allocations: 8 kB / 3.09 GB, free: 19.14 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00128/6.764, allocations: 234.9 kB / 3.09 GB, free: 18.91 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002205/6.766, allocations: 0.8903 MB / 3.091 GB, free: 17.97 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/6.766, allocations: 12 kB / 3.091 GB, free: 17.96 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.225e-05/6.766, allocations: 24 kB / 3.091 GB, free: 17.94 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005355/6.767, allocations: 337.5 kB / 3.091 GB, free: 17.61 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006041/6.767, allocations: 451.8 kB / 3.092 GB, free: 17.14 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/6.767, allocations: 0 / 3.092 GB, free: 17.14 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.059e-05/6.767, allocations: 3.906 kB / 3.092 GB, free: 17.14 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.445e-05/6.767, allocations: 24.77 kB / 3.092 GB, free: 17.12 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002503/6.77, allocations: 2.261 MB / 3.094 GB, free: 14.67 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000307/6.77, allocations: 242 kB / 3.094 GB, free: 14.43 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001494/6.77, allocations: 128.8 kB / 3.094 GB, free: 14.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009446/6.771, allocations: 0.8298 MB / 3.095 GB, free: 13.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002247/6.771, allocations: 191.7 kB / 3.095 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=27): time 2.204e-06/6.771, allocations: 0 / 3.095 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of matching and sorting (n=27): time 0.001043/6.773, allocations: 419.5 kB / 3.096 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/6.773, allocations: 103 kB / 3.096 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004496/6.773, allocations: 454.2 kB / 3.096 GB, free: 12.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.989e-05/6.773, allocations: 25.7 kB / 3.096 GB, free: 12.07 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000115/6.773, allocations: 259.6 kB / 3.096 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.885e-05/6.773, allocations: 94.67 kB / 3.097 GB, free: 11.72 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.807e-05/6.773, allocations: 0 / 3.097 GB, free: 11.72 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.503e-05/6.773, allocations: 366.8 kB / 3.097 GB, free: 11.35 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001512/6.774, allocations: 112.9 kB / 3.097 GB, free: 11.24 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002128/6.774, allocations: 293 kB / 3.097 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004435/6.774, allocations: 228.8 kB / 3.098 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/6.774, allocations: 7.906 kB / 3.098 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007799/6.775, allocations: 490.1 kB / 3.098 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002854/6.775, allocations: 1.825 MB / 3.1 GB, free: 8.191 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/6.775, allocations: 4 kB / 3.1 GB, free: 8.188 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/6.775, allocations: 8 kB / 3.1 GB, free: 8.18 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003542/6.776, allocations: 91.89 kB / 3.1 GB, free: 8.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/6.776, allocations: 19.83 kB / 3.1 GB, free: 8.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004155/6.776, allocations: 39.67 kB / 3.1 GB, free: 8.031 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.026e-05/6.776, allocations: 20 kB / 3.1 GB, free: 8.012 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.331e-06/6.776, allocations: 4 kB / 3.1 GB, free: 8.008 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006771/6.777, allocations: 409.2 kB / 3.1 GB, free: 7.609 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/6.777, allocations: 4 kB / 3.1 GB, free: 7.605 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.682e-06/6.777, allocations: 8 kB / 3.1 GB, free: 7.598 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003266/6.777, allocations: 91.83 kB / 3.1 GB, free: 7.508 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/6.777, allocations: 8.469 kB / 3.1 GB, free: 7.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003162/6.778, allocations: 39.67 kB / 3.101 GB, free: 7.461 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.771e-05/6.778, allocations: 27.98 kB / 3.101 GB, free: 7.434 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 9.176e-05/6.778, allocations: 116.9 kB / 3.101 GB, free: 7.312 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.305e-05/6.778, allocations: 55.34 kB / 3.101 GB, free: 7.258 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007224/6.779, allocations: 383.6 kB / 3.101 GB, free: 6.875 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/6.779, allocations: 0 / 3.101 GB, free: 6.875 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/6.779, allocations: 4 kB / 3.101 GB, free: 6.871 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/6.779, allocations: 7.922 kB / 3.101 GB, free: 6.863 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001494/6.78, allocations: 1.172 MB / 3.102 GB, free: 5.617 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/6.78, allocations: 0 / 3.102 GB, free: 5.617 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002586/6.78, allocations: 47.92 kB / 3.102 GB, free: 5.57 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/6.78, allocations: 4 kB / 3.102 GB, free: 5.566 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.707e-05/6.78, allocations: 7.984 kB / 3.102 GB, free: 5.559 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/6.78, allocations: 4 kB / 3.102 GB, free: 5.555 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/6.78, allocations: 4 kB / 3.102 GB, free: 5.551 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008721/6.781, allocations: 0.7759 MB / 3.103 GB, free: 4.68 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001314/6.783, allocations: 1.385 MB / 3.104 GB, free: 3.195 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000202/6.783, allocations: 168.2 kB / 3.105 GB, free: 3.012 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/6.783, allocations: 11.98 kB / 3.105 GB, free: 3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002839/6.783, allocations: 12.06 kB / 3.105 GB, free: 2.988 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.457e-05/6.783, allocations: 16.06 kB / 3.105 GB, free: 2.973 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.303e-05/6.783, allocations: 15.94 kB / 3.105 GB, free: 2.957 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.000329/6.784, allocations: 354.8 kB / 3.105 GB, free: 2.613 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002901/6.787, allocations: 0.7297 MB / 3.106 GB, free: 1.883 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.002246/6.789, allocations: 1.779 MB / 3.107 GB, free: 140 kB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.2768/7.066, allocations: 496 kB / 3.108 GB, free: 204.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.666e-06/7.066, allocations: 0 / 3.108 GB, free: 204.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002278/7.066, allocations: 135.8 kB / 3.108 GB, free: 204.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/7.067, allocations: 193.2 kB / 3.108 GB, free: 204.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004207/7.071, allocations: 1.658 MB / 3.11 GB, free: 203.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005117/7.072, allocations: 0.9673 MB / 3.111 GB, free: 203.1 MB / 0.6823 GB Notification: Performance of SimCode: time 9.52e-07/7.072, allocations: 0 / 3.111 GB, free: 203.1 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic.fmu > IDEAS_dev_IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe 2>&1)