Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X,fileNamePrefix="Buildings_9_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X,fileNamePrefix="Buildings_9_Buildings_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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.074/2.074, allocations: 387.2 MB / 394.5 MB, free: 13.61 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.00124/0.001241, allocations: 185.2 kB / 487 MB, free: 5.328 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.375/1.375, allocations: 221.3 MB / 0.7819 GB, free: 1.312 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009554/0.000955, allocations: 104.5 kB / 0.9213 GB, free: 2.562 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6036/0.6046, allocations: 148.4 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2764/0.881, allocations: 142.3 MB / 1.205 GB, free: 26.07 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.569/5.45, allocations: 1.886 GB / 3.091 GB, free: 421.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000214/5.45, allocations: 91.92 kB / 3.091 GB, free: 421.9 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 1.731/7.18, allocations: 0.6054 GB / 3.697 GB, free: 242.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/7.181, allocations: 9 kB / 3.697 GB, free: 242.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001218/7.182, allocations: 242.8 kB / 3.697 GB, free: 242.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001997/7.184, allocations: 0.8833 MB / 3.698 GB, free: 241.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/7.184, allocations: 12 kB / 3.698 GB, free: 241.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.626e-05/7.184, allocations: 24 kB / 3.698 GB, free: 241.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005404/7.184, allocations: 341.5 kB / 3.698 GB, free: 240.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005808/7.185, allocations: 442.9 kB / 3.699 GB, free: 240.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/7.185, allocations: 0 / 3.699 GB, free: 240.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.739e-05/7.185, allocations: 0 / 3.699 GB, free: 240.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.476e-05/7.185, allocations: 24.75 kB / 3.699 GB, free: 240.4 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002339/7.187, allocations: 2.241 MB / 3.701 GB, free: 238 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002667/7.188, allocations: 226.4 kB / 3.701 GB, free: 237.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001368/7.188, allocations: 122 kB / 3.701 GB, free: 237.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008571/7.189, allocations: 0.8337 MB / 3.702 GB, free: 236.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001973/7.189, allocations: 187.3 kB / 3.702 GB, free: 236.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=25): time 2.124e-06/7.189, allocations: 0 / 3.702 GB, free: 236.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=25): time 0.0009671/7.19, allocations: 400.7 kB / 3.703 GB, free: 236.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/7.19, allocations: 110.8 kB / 3.703 GB, free: 236 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004063/7.19, allocations: 450.2 kB / 3.703 GB, free: 235.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/7.19, allocations: 25.7 kB / 3.703 GB, free: 235.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/7.191, allocations: 251.7 kB / 3.703 GB, free: 235.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 4.92e-05/7.191, allocations: 86.75 kB / 3.704 GB, free: 235.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.634e-05/7.191, allocations: 4 kB / 3.704 GB, free: 235.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.232e-05/7.191, allocations: 358.8 kB / 3.704 GB, free: 234.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000131/7.191, allocations: 100.7 kB / 3.704 GB, free: 234.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000199/7.191, allocations: 296.7 kB / 3.704 GB, free: 234.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004101/7.191, allocations: 218 kB / 3.704 GB, free: 234.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/7.191, allocations: 4 kB / 3.704 GB, free: 234.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007218/7.192, allocations: 472.6 kB / 3.705 GB, free: 233.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003238/7.193, allocations: 1.825 MB / 3.707 GB, free: 231.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/7.193, allocations: 4 kB / 3.707 GB, free: 231.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/7.193, allocations: 8.141 kB / 3.707 GB, free: 231.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003156/7.193, allocations: 87.83 kB / 3.707 GB, free: 231.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/7.193, allocations: 4 kB / 3.707 GB, free: 231.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003541/7.193, allocations: 51.56 kB / 3.707 GB, free: 231.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.642e-05/7.193, allocations: 27.98 kB / 3.707 GB, free: 231.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.935e-06/7.193, allocations: 6.5 kB / 3.707 GB, free: 231.5 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006332/7.194, allocations: 386.5 kB / 3.707 GB, free: 231.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/7.194, allocations: 8 kB / 3.707 GB, free: 231.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.741e-06/7.194, allocations: 7.938 kB / 3.707 GB, free: 231.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002934/7.194, allocations: 79.89 kB / 3.707 GB, free: 231 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/7.194, allocations: 11.94 kB / 3.707 GB, free: 231 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002964/7.195, allocations: 40.02 kB / 3.707 GB, free: 231 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.349e-05/7.195, allocations: 23.98 kB / 3.707 GB, free: 230.9 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 (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 9.616e-05/7.195, allocations: 117.5 kB / 3.708 GB, free: 230.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.201e-05/7.195, allocations: 55.34 kB / 3.708 GB, free: 230.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000667/7.196, allocations: 371.1 kB / 3.708 GB, free: 230.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/7.196, allocations: 4 kB / 3.708 GB, free: 230.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/7.196, allocations: 0 / 3.708 GB, free: 230.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/7.196, allocations: 4 kB / 3.708 GB, free: 230.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001327/7.197, allocations: 1.152 MB / 3.709 GB, free: 229.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/7.197, allocations: 4 kB / 3.709 GB, free: 229.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002051/7.197, allocations: 43.91 kB / 3.709 GB, free: 229.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/7.197, allocations: 7.719 kB / 3.709 GB, free: 229.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.241e-05/7.197, allocations: 4 kB / 3.709 GB, free: 229.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/7.197, allocations: 4 kB / 3.709 GB, free: 229.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/7.197, allocations: 7.938 kB / 3.709 GB, free: 229.1 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006234/7.198, allocations: 0.6218 MB / 3.71 GB, free: 228.4 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008735/7.199, allocations: 1.076 MB / 3.711 GB, free: 227.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001504/7.199, allocations: 160.4 kB / 3.711 GB, free: 227 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.054e-05/7.199, allocations: 7.984 kB / 3.711 GB, free: 227 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002623/7.199, allocations: 15.94 kB / 3.711 GB, free: 227 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.072e-05/7.199, allocations: 27.81 kB / 3.711 GB, free: 227 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-05/7.199, allocations: 8 kB / 3.711 GB, free: 227 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0002802/7.2, allocations: 350.9 kB / 3.711 GB, free: 226.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002627/7.202, allocations: 0.7141 MB / 3.712 GB, free: 225.9 MB / 1.151 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.00203/7.204, allocations: 1.781 MB / 3.714 GB, free: 224.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0006248/7.205, allocations: 459.8 kB / 3.714 GB, free: 223.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/7.205, allocations: 0.8125 kB / 3.714 GB, free: 223.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001445/7.205, allocations: 128 kB / 3.714 GB, free: 223.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009059/7.206, allocations: 185.7 kB / 3.715 GB, free: 223.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003598/7.21, allocations: 1.53 MB / 3.716 GB, free: 222 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004957/7.21, allocations: 0.9662 MB / 3.717 GB, free: 221 MB / 1.151 GB Notification: Performance of SimCode: time 3e-07/7.21, allocations: 3.938 kB / 3.717 GB, free: 221 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; mkfifo Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe >> ../files/Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_X.fmu > Buildings_9_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe 2>&1)