Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier") translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier") [: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.0.1-maint.8.0.x/package.mo): time 1.558/1.558, allocations: 285.5 MB / 292.8 MB, free: 10.43 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.001181/0.001181, allocations: 181.3 kB / 361.1 MB, free: 7.09 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.437/1.437, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0009606/0.0009606, allocations: 92.8 kB / 0.7326 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.017e-06/9.127e-06, allocations: 4 kB / 0.8511 GB, free: 2.98 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5834/0.5834, allocations: 115.3 MB / 0.9637 GB, free: 78.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.922/4.505, allocations: 2.082 GB / 3.046 GB, free: 73.01 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002959/4.506, allocations: 92.7 kB / 3.046 GB, free: 72.92 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.965/9.471, allocations: 1.29 GB / 4.336 GB, free: 124.6 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0001457/9.471, allocations: 47.12 kB / 4.336 GB, free: 124.6 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.005855/9.477, allocations: 2.102 MB / 4.338 GB, free: 123.7 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/9.477, allocations: 6.5 kB / 4.338 GB, free: 123.7 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005318/9.483, allocations: 0.6535 MB / 4.339 GB, free: 123.6 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005577/9.488, allocations: 1.761 MB / 4.341 GB, free: 123.2 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.625e-05/9.488, allocations: 39.66 kB / 4.341 GB, free: 123.2 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002189/9.488, allocations: 81.06 kB / 4.341 GB, free: 123.2 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00237/9.491, allocations: 1.211 MB / 4.342 GB, free: 123.2 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002136/9.493, allocations: 1.299 MB / 4.343 GB, free: 123 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.957e-05/9.493, allocations: 2.625 kB / 4.343 GB, free: 123 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001091/9.493, allocations: 3 kB / 4.343 GB, free: 123 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.184e-05/9.493, allocations: 52.97 kB / 4.343 GB, free: 123 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009542/9.503, allocations: 7.277 MB / 4.35 GB, free: 119.1 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009538/9.504, allocations: 0.6615 MB / 4.351 GB, free: 119.1 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004863/9.504, allocations: 375.1 kB / 4.351 GB, free: 119.1 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003217/9.505, allocations: 274.9 kB / 4.352 GB, free: 118.8 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/9.505, allocations: 45.22 kB / 4.352 GB, free: 118.8 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=67): time 3.687e-06/9.505, allocations: 0 / 4.352 GB, free: 118.8 MB / 0.9636 GB Notification: Performance of matching and sorting (n=67): time 0.002155/9.507, allocations: 0.8043 MB / 4.353 GB, free: 118.7 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/9.507, allocations: 62.84 kB / 4.353 GB, free: 118.6 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001216/9.508, allocations: 0.911 MB / 4.353 GB, free: 118.5 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.972e-05/9.508, allocations: 29.61 kB / 4.354 GB, free: 118.4 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003333/9.508, allocations: 0.5707 MB / 4.354 GB, free: 118.1 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002435/9.509, allocations: 236.1 kB / 4.354 GB, free: 118 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.889e-05/9.509, allocations: 0 / 4.354 GB, free: 118 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.192e-05/9.509, allocations: 337.9 kB / 4.355 GB, free: 117.7 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004294/9.509, allocations: 305.1 kB / 4.355 GB, free: 117.7 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006385/9.51, allocations: 0.6237 MB / 4.356 GB, free: 117.3 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000587/9.511, allocations: 430.3 kB / 4.356 GB, free: 117.3 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/9.511, allocations: 0 / 4.356 GB, free: 117.3 MB / 0.9636 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001482/9.512, allocations: 0.9755 MB / 4.357 GB, free: 117.1 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.000582/9.513, allocations: 2.478 MB / 4.359 GB, free: 114.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/9.513, allocations: 3.781 kB / 4.359 GB, free: 114.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.995e-05/9.513, allocations: 13.97 kB / 4.359 GB, free: 114.6 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009256/9.514, allocations: 197.9 kB / 4.36 GB, free: 114.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-05/9.514, allocations: 11.38 kB / 4.36 GB, free: 114.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001676/9.515, allocations: 136.1 kB / 4.36 GB, free: 114.6 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.074e-05/9.515, allocations: 43.84 kB / 4.36 GB, free: 114.6 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 7.634e-06/9.515, allocations: 0 / 4.36 GB, free: 114.6 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001177/9.517, allocations: 0.8043 MB / 4.36 GB, free: 114.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/9.517, allocations: 8.25 kB / 4.36 GB, free: 114.5 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/9.517, allocations: 17.97 kB / 4.361 GB, free: 114.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008057/9.518, allocations: 195.5 kB / 4.361 GB, free: 114.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.385e-05/9.518, allocations: 16.06 kB / 4.361 GB, free: 114.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001497/9.519, allocations: 122.4 kB / 4.361 GB, free: 114.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.383e-05/9.519, allocations: 39.72 kB / 4.361 GB, free: 114.5 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 111 * 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.0002574/9.519, allocations: 134.4 kB / 4.361 GB, free: 114.4 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002388/9.52, allocations: 134.3 kB / 4.361 GB, free: 114.3 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001404/9.521, allocations: 0.779 MB / 4.362 GB, free: 114.2 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/9.521, allocations: 7.688 kB / 4.362 GB, free: 114.2 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/9.521, allocations: 3.25 kB / 4.362 GB, free: 114.2 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008491/9.522, allocations: 0.7605 MB / 4.363 GB, free: 114 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003716/9.526, allocations: 2.175 MB / 4.365 GB, free: 113.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/9.526, allocations: 1.844 kB / 4.365 GB, free: 113.6 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009177/9.527, allocations: 173.3 kB / 4.365 GB, free: 113.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.09e-05/9.527, allocations: 3.906 kB / 4.365 GB, free: 113.6 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.324e-05/9.527, allocations: 10.03 kB / 4.365 GB, free: 113.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.686e-06/9.527, allocations: 7.391 kB / 4.365 GB, free: 113.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/9.527, allocations: 1.781 kB / 4.365 GB, free: 113.6 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001761/9.528, allocations: 1.378 MB / 4.366 GB, free: 113.2 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000761/9.529, allocations: 312.2 kB / 4.367 GB, free: 113 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002054/9.529, allocations: 10.97 kB / 4.367 GB, free: 113 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001183/9.531, allocations: 84.05 kB / 4.367 GB, free: 113 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.482e-05/9.531, allocations: 42.66 kB / 4.367 GB, free: 113 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.027e-05/9.531, allocations: 34.25 kB / 4.367 GB, free: 113 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.001069/9.532, allocations: 0.6794 MB / 4.367 GB, free: 112.9 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003262/9.535, allocations: 1.064 MB / 4.368 GB, free: 112.8 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (humBac.vol.dynBal.U,humBac.vol.dynBal.m,humBac.vol.dynBal.mXi[1],humFor.vol.dynBal.U,humFor.vol.dynBal.m,humFor.vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 72 * 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 Backend phase and start with SimCode phase: time 0.005093/9.54, allocations: 3.522 MB / 4.372 GB, free: 111.5 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002663/9.543, allocations: 1.242 MB / 4.373 GB, free: 111.4 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 5.83e-06/9.543, allocations: 0 / 4.373 GB, free: 111.4 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0004431/9.543, allocations: 340.8 kB / 4.373 GB, free: 111.4 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003962/9.547, allocations: 0.7314 MB / 4.374 GB, free: 111.4 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005199/9.553, allocations: 2.303 MB / 4.376 GB, free: 110.8 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00153/9.554, allocations: 1.503 MB / 4.378 GB, free: 110.1 MB / 0.9636 GB Notification: Performance of SimCode: time 2.906e-06/9.554, allocations: 1.344 kB / 4.378 GB, free: 110.1 MB / 0.9636 GB Notification: Performance of Templates: time 0.084/9.638, allocations: 47.08 MB / 4.424 GB, free: 107.5 MB / 0.9636 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)