Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Humidifiers_Validation_SprayAirWasher_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7086/0.7086, allocations: 141.8 MB / 149.1 MB, free: 12.43 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 171.1 kB / 181.9 MB, free: 9.223 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 221.3 MB / 436 MB, free: 1.594 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009627/0.0009627, allocations: 96.62 kB / 0.507 GB, free: 10.44 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001808/0.001808, allocations: 280.4 kB / 0.5885 GB, free: 7.262 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 0.2038/0.2056, allocations: 89.64 MB / 0.676 GB, free: 13.54 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4114/0.6171, allocations: 82.76 MB / 0.7568 GB, free: 138.4 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.462/4.079, allocations: 1.847 GB / 2.604 GB, free: 145.2 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000278/4.08, allocations: 91.69 kB / 2.604 GB, free: 145.2 MB / 0.6982 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.799/5.879, allocations: 0.6058 GB / 3.209 GB, free: 67.48 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/5.879, allocations: 9 kB / 3.21 GB, free: 67.47 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001297/5.88, allocations: 240.7 kB / 3.21 GB, free: 67.24 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002145/5.882, allocations: 0.8807 MB / 3.211 GB, free: 66.34 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/5.882, allocations: 12 kB / 3.211 GB, free: 66.32 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.878e-05/5.882, allocations: 24 kB / 3.211 GB, free: 66.3 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005157/5.883, allocations: 341.5 kB / 3.211 GB, free: 65.96 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005536/5.883, allocations: 442.9 kB / 3.211 GB, free: 65.52 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/5.883, allocations: 3.938 kB / 3.211 GB, free: 65.51 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.695e-05/5.883, allocations: 4 kB / 3.211 GB, free: 65.51 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.168e-05/5.883, allocations: 16.78 kB / 3.211 GB, free: 65.49 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002396/5.886, allocations: 2.243 MB / 3.214 GB, free: 63.08 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002676/5.886, allocations: 222.7 kB / 3.214 GB, free: 62.85 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001403/5.886, allocations: 127.5 kB / 3.214 GB, free: 62.73 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008733/5.887, allocations: 0.8264 MB / 3.215 GB, free: 61.74 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002018/5.887, allocations: 184.4 kB / 3.215 GB, free: 61.54 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=25): time 1.934e-06/5.887, allocations: 0 / 3.215 GB, free: 61.54 MB / 0.6982 GB Notification: Performance of matching and sorting (n=25): time 0.00102/5.888, allocations: 400.7 kB / 3.215 GB, free: 61.14 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/5.888, allocations: 110.8 kB / 3.215 GB, free: 61.01 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004412/5.889, allocations: 458.2 kB / 3.216 GB, free: 60.55 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 2.811e-05/5.889, allocations: 25.7 kB / 3.216 GB, free: 60.52 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/5.889, allocations: 255.6 kB / 3.216 GB, free: 60.27 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 4.896e-05/5.889, allocations: 82.84 kB / 3.216 GB, free: 60.18 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.687e-05/5.889, allocations: 0 / 3.216 GB, free: 60.18 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 7.394e-05/5.889, allocations: 362.8 kB / 3.217 GB, free: 59.82 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/5.889, allocations: 96.72 kB / 3.217 GB, free: 59.72 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001951/5.889, allocations: 302.2 kB / 3.217 GB, free: 59.34 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004296/5.89, allocations: 215.8 kB / 3.217 GB, free: 59.13 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/5.89, allocations: 0 / 3.217 GB, free: 59.13 MB / 0.6982 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007595/5.891, allocations: 481.5 kB / 3.218 GB, free: 58.65 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003337/5.891, allocations: 1.825 MB / 3.219 GB, free: 56.69 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/5.891, allocations: 4 kB / 3.219 GB, free: 56.68 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/5.891, allocations: 8 kB / 3.219 GB, free: 56.68 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003272/5.891, allocations: 91.92 kB / 3.219 GB, free: 56.59 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/5.891, allocations: 7.938 kB / 3.219 GB, free: 56.58 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003883/5.892, allocations: 43.58 kB / 3.219 GB, free: 56.54 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.921e-05/5.892, allocations: 23.98 kB / 3.22 GB, free: 56.51 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 7.184e-06/5.892, allocations: 0 / 3.22 GB, free: 56.51 MB / 0.6982 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006542/5.893, allocations: 394.9 kB / 3.22 GB, free: 56.13 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/5.893, allocations: 4 kB / 3.22 GB, free: 56.12 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.402e-06/5.893, allocations: 8 kB / 3.22 GB, free: 56.12 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003215/5.893, allocations: 87.83 kB / 3.22 GB, free: 56.03 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/5.893, allocations: 15.92 kB / 3.22 GB, free: 56.02 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003361/5.893, allocations: 32.31 kB / 3.22 GB, free: 55.98 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.73e-05/5.893, allocations: 23.98 kB / 3.22 GB, free: 55.96 MB / 0.6982 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.0001058/5.893, allocations: 116.9 kB / 3.22 GB, free: 55.84 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.832e-05/5.894, allocations: 59.25 kB / 3.22 GB, free: 55.78 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007101/5.894, allocations: 361 kB / 3.221 GB, free: 55.42 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/5.894, allocations: 8 kB / 3.221 GB, free: 55.41 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/5.894, allocations: 0 / 3.221 GB, free: 55.41 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/5.894, allocations: 7.984 kB / 3.221 GB, free: 55.41 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00141/5.896, allocations: 1.143 MB / 3.222 GB, free: 54.2 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/5.896, allocations: 4 kB / 3.222 GB, free: 54.19 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002031/5.896, allocations: 47.91 kB / 3.222 GB, free: 54.14 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/5.896, allocations: 4 kB / 3.222 GB, free: 54.14 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.352e-05/5.896, allocations: 4 kB / 3.222 GB, free: 54.14 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/5.896, allocations: 7.984 kB / 3.222 GB, free: 54.13 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/5.896, allocations: 7.938 kB / 3.222 GB, free: 54.12 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007025/5.897, allocations: 0.6179 MB / 3.222 GB, free: 53.41 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000962/5.898, allocations: 1.08 MB / 3.223 GB, free: 52.23 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000182/5.898, allocations: 160.3 kB / 3.224 GB, free: 52.05 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.59e-05/5.898, allocations: 11.91 kB / 3.224 GB, free: 52.04 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002662/5.898, allocations: 15.98 kB / 3.224 GB, free: 52.02 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.989e-05/5.898, allocations: 15.92 kB / 3.224 GB, free: 52.01 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-05/5.898, allocations: 16 kB / 3.224 GB, free: 51.99 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0003183/5.899, allocations: 350.9 kB / 3.224 GB, free: 51.65 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.002804/5.901, allocations: 0.7179 MB / 3.225 GB, free: 50.93 MB / 0.6982 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.00211/5.904, allocations: 1.806 MB / 3.226 GB, free: 49.18 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.0006335/5.904, allocations: 468 kB / 3.227 GB, free: 48.72 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/5.904, allocations: 0.875 kB / 3.227 GB, free: 48.72 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0001494/5.904, allocations: 123.8 kB / 3.227 GB, free: 48.6 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009408/5.905, allocations: 185.5 kB / 3.227 GB, free: 48.42 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003598/5.909, allocations: 1.525 MB / 3.229 GB, free: 46.84 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004046/5.909, allocations: 0.9683 MB / 3.23 GB, free: 45.85 MB / 0.6982 GB Notification: Performance of SimCode: time 2.61e-07/5.909, allocations: 0 / 3.23 GB, free: 45.85 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Humidifiers_Validation_SprayAirWasher_X_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Humidifiers_Validation_SprayAirWasher_X.fmu > BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe 2>&1)