Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic") translateModel(Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.561/1.561, allocations: 289.8 MB / 297.1 MB, free: 6.684 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001145/0.001145, allocations: 173.3 kB / 366.3 MB, free: 2.031 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.349/1.349, allocations: 205.2 MB / 0.6256 GB, free: 5.836 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009858/0.0009857, allocations: 86.39 kB / 0.7395 GB, free: 39.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.622e-06/6.652e-06, allocations: 0 / 0.859 GB, free: 13.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7056/0.7056, allocations: 116.3 MB / 0.9726 GB, free: 68.04 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.994/5.7, allocations: 2.081 GB / 3.054 GB, free: 355.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003662/5.7, allocations: 85.92 kB / 3.054 GB, free: 355.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.8/8.5, allocations: 0.9674 GB / 4.021 GB, free: 102.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.521e-05/8.5, allocations: 19.98 kB / 4.021 GB, free: 102.5 MB / 0.948 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.002404/8.503, allocations: 1.014 MB / 4.022 GB, free: 101.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/8.503, allocations: 8.031 kB / 4.022 GB, free: 101.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001238/8.504, allocations: 234.8 kB / 4.023 GB, free: 101.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001999/8.506, allocations: 0.8811 MB / 4.023 GB, free: 100.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/8.506, allocations: 12 kB / 4.023 GB, free: 100.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.547e-05/8.506, allocations: 24 kB / 4.023 GB, free: 100.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006253/8.507, allocations: 373.5 kB / 4.024 GB, free: 99.85 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005965/8.507, allocations: 442.9 kB / 4.024 GB, free: 99.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/8.507, allocations: 0 / 4.024 GB, free: 99.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.072e-05/8.507, allocations: 0 / 4.024 GB, free: 99.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.22e-05/8.508, allocations: 20.69 kB / 4.024 GB, free: 99.38 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002793/8.51, allocations: 2.259 MB / 4.026 GB, free: 96.91 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003437/8.511, allocations: 234.7 kB / 4.027 GB, free: 96.68 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001546/8.511, allocations: 122.8 kB / 4.027 GB, free: 96.55 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000982/8.512, allocations: 0.826 MB / 4.028 GB, free: 95.56 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002332/8.512, allocations: 182.5 kB / 4.028 GB, free: 95.36 MB / 0.948 GB Notification: Performance of pre-optimization done (n=26): time 2.334e-06/8.512, allocations: 3.938 kB / 4.028 GB, free: 95.36 MB / 0.948 GB Notification: Performance of matching and sorting (n=26): time 0.001209/8.513, allocations: 409.6 kB / 4.028 GB, free: 94.95 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.223e-05/8.513, allocations: 107 kB / 4.028 GB, free: 94.82 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005266/8.514, allocations: 462.2 kB / 4.029 GB, free: 94.36 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.605e-05/8.514, allocations: 25.7 kB / 4.029 GB, free: 94.33 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/8.514, allocations: 255.6 kB / 4.029 GB, free: 94.07 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.624e-05/8.514, allocations: 86.75 kB / 4.029 GB, free: 93.99 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.807e-05/8.514, allocations: 0 / 4.029 GB, free: 93.99 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001097/8.514, allocations: 366.8 kB / 4.029 GB, free: 93.62 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/8.515, allocations: 104.8 kB / 4.029 GB, free: 93.52 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00026/8.515, allocations: 300.3 kB / 4.03 GB, free: 93.14 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004525/8.515, allocations: 226.6 kB / 4.03 GB, free: 92.92 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/8.515, allocations: 3.938 kB / 4.03 GB, free: 92.92 MB / 0.948 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007769/8.516, allocations: 476.9 kB / 4.03 GB, free: 92.45 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004477/8.516, allocations: 1.829 MB / 4.032 GB, free: 90.47 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/8.517, allocations: 8 kB / 4.032 GB, free: 90.46 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.359e-05/8.517, allocations: 4 kB / 4.032 GB, free: 90.46 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003592/8.517, allocations: 91.83 kB / 4.032 GB, free: 90.37 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/8.517, allocations: 4 kB / 4.032 GB, free: 90.37 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004547/8.517, allocations: 47.66 kB / 4.032 GB, free: 90.32 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.695e-05/8.517, allocations: 24 kB / 4.032 GB, free: 90.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.154e-06/8.517, allocations: 11.84 kB / 4.032 GB, free: 90.29 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006914/8.518, allocations: 398.6 kB / 4.033 GB, free: 89.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/8.518, allocations: 4 kB / 4.033 GB, free: 89.89 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.325e-06/8.518, allocations: 12.03 kB / 4.033 GB, free: 89.88 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003127/8.519, allocations: 83.89 kB / 4.033 GB, free: 89.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/8.519, allocations: 11.94 kB / 4.033 GB, free: 89.79 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003585/8.519, allocations: 31.73 kB / 4.033 GB, free: 89.76 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.511e-05/8.519, allocations: 28.02 kB / 4.033 GB, free: 89.73 MB / 0.948 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.000115/8.519, allocations: 117.8 kB / 4.033 GB, free: 89.61 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.179e-05/8.519, allocations: 55.25 kB / 4.033 GB, free: 89.55 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007284/8.52, allocations: 370.1 kB / 4.033 GB, free: 89.19 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/8.52, allocations: 4 kB / 4.033 GB, free: 89.18 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/8.52, allocations: 4 kB / 4.033 GB, free: 89.18 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.279e-06/8.52, allocations: 0 / 4.033 GB, free: 89.18 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001452/8.521, allocations: 1.164 MB / 4.035 GB, free: 87.94 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/8.521, allocations: 0 / 4.035 GB, free: 87.94 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002358/8.522, allocations: 48.19 kB / 4.035 GB, free: 87.89 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.359e-06/8.522, allocations: 8 kB / 4.035 GB, free: 87.89 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.541e-05/8.522, allocations: 11.98 kB / 4.035 GB, free: 87.88 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/8.522, allocations: 7.938 kB / 4.035 GB, free: 87.87 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/8.522, allocations: 4 kB / 4.035 GB, free: 87.86 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000829/8.523, allocations: 0.7729 MB / 4.035 GB, free: 87 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000172/8.523, allocations: 160.3 kB / 4.036 GB, free: 86.82 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.036e-05/8.523, allocations: 4 kB / 4.036 GB, free: 86.82 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002665/8.523, allocations: 11.98 kB / 4.036 GB, free: 86.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.348e-05/8.523, allocations: 23.95 kB / 4.036 GB, free: 86.78 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-05/8.523, allocations: 15.98 kB / 4.036 GB, free: 86.77 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0003205/8.523, allocations: 346.9 kB / 4.036 GB, free: 86.43 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001277/8.525, allocations: 383.3 kB / 4.036 GB, free: 86.05 MB / 0.948 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.002369/8.527, allocations: 1.783 MB / 4.038 GB, free: 84.27 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0007273/8.528, allocations: 478.5 kB / 4.039 GB, free: 83.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/8.528, allocations: 2.25 kB / 4.039 GB, free: 83.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000166/8.528, allocations: 127.7 kB / 4.039 GB, free: 83.68 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009891/8.529, allocations: 201.8 kB / 4.039 GB, free: 83.48 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004151/8.533, allocations: 1.584 MB / 4.04 GB, free: 81.85 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004381/8.534, allocations: 0.9684 MB / 4.041 GB, free: 80.85 MB / 0.948 GB Notification: Performance of SimCode: time 1.042e-06/8.534, allocations: 0 / 4.041 GB, free: 80.85 MB / 0.948 GB Notification: Performance of Templates: time 0.0264/8.56, allocations: 18.6 MB / 4.06 GB, free: 62.34 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.makefile (rm -f Buildings_8_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; mkfifo Buildings_8_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe >> ../files/Buildings_8_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.sim & ./Buildings_8_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe 2>&1)