Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.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: translateModel(BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic") translateModel(BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic") [: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.7914/0.7914, allocations: 141.8 MB / 149.1 MB, free: 7.855 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.001327/0.001327, allocations: 186.2 kB / 181.9 MB, free: 5.227 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.53/1.53, allocations: 221.3 MB / 436 MB, free: 13.07 MB / 346.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 93.25 kB / 0.507 GB, free: 6.469 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001871/0.001871, allocations: 275.5 kB / 0.5884 GB, free: 3.273 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 1.068e-05/1.071e-05, allocations: 1.344 kB / 0.6759 GB, free: 164.4 MB / 0.5419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2009/0.201, allocations: 82.78 MB / 0.7567 GB, free: 110.7 MB / 0.5419 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.951/4.152, allocations: 1.847 GB / 2.604 GB, free: 231.4 MB / 0.7138 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003143/4.153, allocations: 83.2 kB / 2.604 GB, free: 231.3 MB / 0.7138 GB Notification: Performance of FrontEnd: time 3.207/7.36, allocations: 0.9754 GB / 3.579 GB, free: 58.88 MB / 0.7138 GB Notification: Performance of Transformations before backend: time 0.0001178/7.36, allocations: 26.42 kB / 3.579 GB, free: 58.86 MB / 0.7138 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 0.003935/7.364, allocations: 1.044 MB / 3.58 GB, free: 57.78 MB / 0.7138 GB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/7.364, allocations: 12.03 kB / 3.58 GB, free: 57.77 MB / 0.7138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001632/7.365, allocations: 234.8 kB / 3.58 GB, free: 57.54 MB / 0.7138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002982/7.368, allocations: 0.8879 MB / 3.581 GB, free: 56.63 MB / 0.7138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.141e-05/7.368, allocations: 12 kB / 3.581 GB, free: 56.62 MB / 0.7138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001369/7.369, allocations: 24 kB / 3.581 GB, free: 56.6 MB / 0.7138 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007086/7.369, allocations: 345.4 kB / 3.582 GB, free: 56.26 MB / 0.7138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007114/7.37, allocations: 443 kB / 3.582 GB, free: 55.81 MB / 0.7138 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/7.37, allocations: 0 / 3.582 GB, free: 55.81 MB / 0.7138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.34e-05/7.37, allocations: 7.984 kB / 3.582 GB, free: 55.8 MB / 0.7138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.522e-05/7.37, allocations: 16.77 kB / 3.582 GB, free: 55.79 MB / 0.7138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003502/7.374, allocations: 2.259 MB / 3.584 GB, free: 53.36 MB / 0.7138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003492/7.374, allocations: 238.6 kB / 3.585 GB, free: 53.12 MB / 0.7138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001666/7.374, allocations: 124.8 kB / 3.585 GB, free: 52.99 MB / 0.7138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00103/7.375, allocations: 0.8291 MB / 3.585 GB, free: 52 MB / 0.7138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002405/7.375, allocations: 192.6 kB / 3.586 GB, free: 51.79 MB / 0.7138 GB Notification: Performance of pre-optimization done (n=26): time 2.726e-06/7.375, allocations: 0 / 3.586 GB, free: 51.79 MB / 0.7138 GB Notification: Performance of matching and sorting (n=26): time 0.001292/7.377, allocations: 406.9 kB / 3.586 GB, free: 51.39 MB / 0.7138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/7.377, allocations: 111 kB / 3.586 GB, free: 51.26 MB / 0.7138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005733/7.377, allocations: 450.3 kB / 3.587 GB, free: 50.81 MB / 0.7138 GB Notification: Performance of collectPreVariables (initialization): time 4.806e-05/7.377, allocations: 25.7 kB / 3.587 GB, free: 50.78 MB / 0.7138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/7.378, allocations: 259.5 kB / 3.587 GB, free: 50.52 MB / 0.7138 GB Notification: Performance of collectInitialBindings (initialization): time 7.208e-05/7.378, allocations: 82.81 kB / 3.587 GB, free: 50.44 MB / 0.7138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.818e-05/7.378, allocations: 4.031 kB / 3.587 GB, free: 50.44 MB / 0.7138 GB Notification: Performance of setup shared object (initialization): time 0.0001111/7.378, allocations: 370.8 kB / 3.587 GB, free: 50.07 MB / 0.7138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/7.378, allocations: 96.84 kB / 3.587 GB, free: 49.97 MB / 0.7138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002274/7.378, allocations: 296.3 kB / 3.588 GB, free: 49.59 MB / 0.7138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000498/7.379, allocations: 228.6 kB / 3.588 GB, free: 49.37 MB / 0.7138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/7.379, allocations: 0 / 3.588 GB, free: 49.37 MB / 0.7138 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009124/7.38, allocations: 476.5 kB / 3.588 GB, free: 48.89 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004163/7.38, allocations: 1.841 MB / 3.59 GB, free: 46.91 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/7.38, allocations: 8.141 kB / 3.59 GB, free: 46.91 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.552e-05/7.38, allocations: 8 kB / 3.59 GB, free: 46.9 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003525/7.381, allocations: 83.83 kB / 3.59 GB, free: 46.82 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/7.381, allocations: 11.92 kB / 3.59 GB, free: 46.8 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005242/7.381, allocations: 51.55 kB / 3.59 GB, free: 46.75 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.45e-05/7.381, allocations: 27.98 kB / 3.59 GB, free: 46.73 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/7.381, allocations: 4 kB / 3.59 GB, free: 46.72 MB / 0.7138 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007597/7.382, allocations: 398 kB / 3.591 GB, free: 46.34 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/7.382, allocations: 4.562 kB / 3.591 GB, free: 46.33 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.185e-06/7.382, allocations: 8 kB / 3.591 GB, free: 46.32 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003236/7.382, allocations: 83.89 kB / 3.591 GB, free: 46.24 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/7.382, allocations: 11.94 kB / 3.591 GB, free: 46.23 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000427/7.383, allocations: 31.73 kB / 3.591 GB, free: 46.2 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.747e-05/7.383, allocations: 27.97 kB / 3.591 GB, free: 46.17 MB / 0.7138 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 (47): * Single equations (assignments): 47 * 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.0001266/7.383, allocations: 129.7 kB / 3.591 GB, free: 46.04 MB / 0.7138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.402e-05/7.383, allocations: 51.34 kB / 3.591 GB, free: 45.99 MB / 0.7138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000757/7.384, allocations: 370 kB / 3.591 GB, free: 45.61 MB / 0.7138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/7.384, allocations: 4 kB / 3.591 GB, free: 45.61 MB / 0.7138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/7.384, allocations: 0 / 3.591 GB, free: 45.61 MB / 0.7138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/7.384, allocations: 3.984 kB / 3.591 GB, free: 45.61 MB / 0.7138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001728/7.386, allocations: 1.162 MB / 3.592 GB, free: 44.38 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/7.386, allocations: 4 kB / 3.592 GB, free: 44.37 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002561/7.386, allocations: 43.91 kB / 3.593 GB, free: 44.33 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-06/7.386, allocations: 4 kB / 3.593 GB, free: 44.32 MB / 0.7138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.707e-05/7.386, allocations: 4.281 kB / 3.593 GB, free: 44.32 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/7.386, allocations: 8 kB / 3.593 GB, free: 44.31 MB / 0.7138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/7.386, allocations: 4 kB / 3.593 GB, free: 44.31 MB / 0.7138 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009493/7.387, allocations: 0.7775 MB / 3.593 GB, free: 43.44 MB / 0.7138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002261/7.387, allocations: 164.3 kB / 3.593 GB, free: 43.26 MB / 0.7138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.867e-05/7.387, allocations: 4 kB / 3.593 GB, free: 43.25 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002929/7.388, allocations: 11.98 kB / 3.593 GB, free: 43.24 MB / 0.7138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.653e-05/7.388, allocations: 19.89 kB / 3.594 GB, free: 43.22 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.476e-05/7.388, allocations: 16.05 kB / 3.594 GB, free: 43.21 MB / 0.7138 GB Notification: Performance of sort global known variables: time 0.0003453/7.388, allocations: 354.9 kB / 3.594 GB, free: 42.86 MB / 0.7138 GB Notification: Performance of remove unused functions: time 0.001454/7.389, allocations: 384 kB / 3.594 GB, free: 42.49 MB / 0.7138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 1 (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 (27): * Single equations (assignments): 25 * 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.00299/7.392, allocations: 1.794 MB / 3.596 GB, free: 40.83 MB / 0.7138 GB Notification: Performance of simCode: created initialization part: time 0.0007455/7.393, allocations: 478.6 kB / 3.596 GB, free: 40.36 MB / 0.7138 GB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/7.393, allocations: 0 / 3.596 GB, free: 40.36 MB / 0.7138 GB Notification: Performance of simCode: created simulation system equations: time 0.0001752/7.393, allocations: 127.8 kB / 3.597 GB, free: 40.24 MB / 0.7138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/7.394, allocations: 193.8 kB / 3.597 GB, free: 40.05 MB / 0.7138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004304/7.399, allocations: 1.591 MB / 3.598 GB, free: 38.41 MB / 0.7138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005911/7.399, allocations: 0.9652 MB / 3.599 GB, free: 37.42 MB / 0.7138 GB Notification: Performance of SimCode: time 9.31e-07/7.399, allocations: 0 / 3.599 GB, free: 37.42 MB / 0.7138 GB Notification: Performance of Templates: time 0.03052/7.43, allocations: 18.62 MB / 3.617 GB, free: 18.91 MB / 0.7138 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.sim & ./BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe 2>&1)