Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic,fileNamePrefix="Buildings_latest_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic,fileNamePrefix="Buildings_latest_Buildings_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/Buildings 10.0.0-master/package.mo): time 2.721/2.721, allocations: 390.4 MB / 397.7 MB, free: 11.23 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 193.2 kB / 490.8 MB, free: 1.891 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 221.3 MB / 0.7863 GB, free: 13.6 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 80.75 kB / 0.9264 GB, free: 14.12 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.6867/0.6877, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/1.014, allocations: 143 MB / 1.212 GB, free: 39.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.183/6.197, allocations: 1.887 GB / 3.099 GB, free: 421.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003441/6.198, allocations: 83.95 kB / 3.099 GB, free: 421.1 MB / 1.151 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.381/9.579, allocations: 0.9758 GB / 4.074 GB, free: 273.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 8.039e-05/9.579, allocations: 13.31 kB / 4.074 GB, free: 273.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002011/9.581, allocations: 233.1 kB / 4.075 GB, free: 273.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003839/9.585, allocations: 0.8854 MB / 4.076 GB, free: 273.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.586e-05/9.585, allocations: 13.59 kB / 4.076 GB, free: 273.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001749/9.585, allocations: 27.53 kB / 4.076 GB, free: 273.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009798/9.586, allocations: 332 kB / 4.076 GB, free: 273 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/9.587, allocations: 454.9 kB / 4.076 GB, free: 272.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/9.587, allocations: 4.938 kB / 4.076 GB, free: 272.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.74e-05/9.587, allocations: 1.438 kB / 4.076 GB, free: 272.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.09e-05/9.587, allocations: 14.58 kB / 4.076 GB, free: 272.8 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004649/9.592, allocations: 2.247 MB / 4.079 GB, free: 271.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005125/9.593, allocations: 248.4 kB / 4.079 GB, free: 271.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002676/9.593, allocations: 126.6 kB / 4.079 GB, free: 271 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001245/9.594, allocations: 0.8301 MB / 4.08 GB, free: 270.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003422/9.594, allocations: 196.5 kB / 4.08 GB, free: 270 MB / 1.151 GB Notification: Performance of pre-optimization done (n=27): time 3.556e-06/9.594, allocations: 3.844 kB / 4.08 GB, free: 270 MB / 1.151 GB Notification: Performance of matching and sorting (n=27): time 0.001652/9.596, allocations: 411.9 kB / 4.08 GB, free: 269.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.934e-05/9.596, allocations: 110.3 kB / 4.08 GB, free: 269.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/9.597, allocations: 450.9 kB / 4.081 GB, free: 269.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.134e-05/9.597, allocations: 27.58 kB / 4.081 GB, free: 269.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003142/9.598, allocations: 251.4 kB / 4.081 GB, free: 269.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000134/9.598, allocations: 92.94 kB / 4.081 GB, free: 269.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.052e-05/9.598, allocations: 1.031 kB / 4.081 GB, free: 269.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001613/9.598, allocations: 368.5 kB / 4.082 GB, free: 269 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002434/9.598, allocations: 107.7 kB / 4.082 GB, free: 268.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003513/9.599, allocations: 291.8 kB / 4.082 GB, free: 268.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006772/9.599, allocations: 228.7 kB / 4.082 GB, free: 268.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.656e-06/9.599, allocations: 5.625 kB / 4.082 GB, free: 268.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001405/9.601, allocations: 487.9 kB / 4.083 GB, free: 268.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005649/9.601, allocations: 1.834 MB / 4.084 GB, free: 266.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.418e-05/9.601, allocations: 8.812 kB / 4.084 GB, free: 266.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.788e-05/9.601, allocations: 7.375 kB / 4.084 GB, free: 266.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004788/9.602, allocations: 86.73 kB / 4.085 GB, free: 266.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.543e-05/9.602, allocations: 8.312 kB / 4.085 GB, free: 266.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006606/9.603, allocations: 46.52 kB / 4.085 GB, free: 266.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.201e-05/9.603, allocations: 29.38 kB / 4.085 GB, free: 266.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/9.603, allocations: 4.25 kB / 4.085 GB, free: 266.5 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001133/9.604, allocations: 399.5 kB / 4.085 GB, free: 266.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/9.604, allocations: 4.844 kB / 4.085 GB, free: 266.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/9.604, allocations: 9.031 kB / 4.085 GB, free: 266.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003973/9.604, allocations: 89.52 kB / 4.085 GB, free: 266.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.467e-05/9.604, allocations: 11.88 kB / 4.085 GB, free: 266.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005485/9.605, allocations: 36.84 kB / 4.085 GB, free: 266.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.492e-05/9.605, allocations: 24.36 kB / 4.085 GB, free: 266.4 MB / 1.151 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.0002093/9.605, allocations: 119.3 kB / 4.085 GB, free: 266.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001781/9.605, allocations: 61.97 kB / 4.085 GB, free: 266.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00118/9.607, allocations: 377.4 kB / 4.086 GB, free: 266.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/9.607, allocations: 3.875 kB / 4.086 GB, free: 266.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/9.607, allocations: 2.203 kB / 4.086 GB, free: 266.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/9.607, allocations: 1.656 kB / 4.086 GB, free: 266.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002454/9.609, allocations: 1.173 MB / 4.087 GB, free: 265.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/9.609, allocations: 1.656 kB / 4.087 GB, free: 265.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003122/9.609, allocations: 54.5 kB / 4.087 GB, free: 265.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.298e-06/9.609, allocations: 4.312 kB / 4.087 GB, free: 265.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.678e-05/9.609, allocations: 7 kB / 4.087 GB, free: 265.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.336e-06/9.609, allocations: 11.5 kB / 4.087 GB, free: 265.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.275e-06/9.609, allocations: 3.562 kB / 4.087 GB, free: 265.4 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001382/9.611, allocations: 0.7818 MB / 4.088 GB, free: 264.8 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001943/9.613, allocations: 1.379 MB / 4.089 GB, free: 263.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003477/9.613, allocations: 175.4 kB / 4.089 GB, free: 263.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001364/9.613, allocations: 9.562 kB / 4.089 GB, free: 263.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003699/9.614, allocations: 8.953 kB / 4.089 GB, free: 263.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.384e-05/9.614, allocations: 22.95 kB / 4.089 GB, free: 263.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.675e-05/9.614, allocations: 14.41 kB / 4.089 GB, free: 263.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0006004/9.614, allocations: 348.8 kB / 4.09 GB, free: 263.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004003/9.618, allocations: 0.7256 MB / 4.09 GB, free: 263 MB / 1.151 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.003704/9.622, allocations: 1.791 MB / 4.092 GB, free: 262.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00135/9.624, allocations: 496.6 kB / 4.093 GB, free: 262.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/9.624, allocations: 3.938 kB / 4.093 GB, free: 262.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003262/9.624, allocations: 138.2 kB / 4.093 GB, free: 262.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00142/9.625, allocations: 188.5 kB / 4.093 GB, free: 262.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006187/9.632, allocations: 1.651 MB / 4.094 GB, free: 261.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00084/9.632, allocations: 0.9682 MB / 4.095 GB, free: 260.6 MB / 1.151 GB Notification: Performance of SimCode: time 8.11e-07/9.632, allocations: 0 / 4.095 GB, free: 260.6 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe >> ../files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X_dynamic.fmu > Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe 2>&1)