Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.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.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier") translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.63/1.63, allocations: 289.8 MB / 297.1 MB, free: 6.656 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.001204/0.001203, allocations: 185.2 kB / 366.3 MB, free: 1.98 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.581/1.581, allocations: 205.1 MB / 0.6256 GB, free: 5.805 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.001004/0.001004, allocations: 93.33 kB / 0.7396 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.016e-05/1.03e-05, allocations: 4 kB / 0.859 GB, free: 13.37 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7568/0.7568, allocations: 116.3 MB / 0.9726 GB, free: 68.79 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.9/5.657, allocations: 2.083 GB / 3.056 GB, free: 356.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003404/5.658, allocations: 91.94 kB / 3.056 GB, free: 356.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.469/10.13, allocations: 1.29 GB / 4.346 GB, free: 125.4 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0001522/10.13, allocations: 43.38 kB / 4.346 GB, free: 125.4 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.006539/10.13, allocations: 2.111 MB / 4.348 GB, free: 124.2 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/10.13, allocations: 7.75 kB / 4.348 GB, free: 124.2 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005743/10.14, allocations: 0.6472 MB / 4.349 GB, free: 124 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005287/10.14, allocations: 1.766 MB / 4.351 GB, free: 123.2 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.531e-05/10.14, allocations: 43.81 kB / 4.351 GB, free: 123.2 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000246/10.14, allocations: 80.59 kB / 4.351 GB, free: 123.2 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002466/10.15, allocations: 1.207 MB / 4.352 GB, free: 122.7 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002258/10.15, allocations: 1.294 MB / 4.353 GB, free: 122.1 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.566e-05/10.15, allocations: 2.875 kB / 4.353 GB, free: 122.1 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001181/10.15, allocations: 1.312 kB / 4.353 GB, free: 122.1 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.722e-05/10.15, allocations: 49.64 kB / 4.353 GB, free: 122.1 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01028/10.16, allocations: 7.295 MB / 4.36 GB, free: 116.8 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009707/10.16, allocations: 0.6542 MB / 4.361 GB, free: 116.5 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004814/10.16, allocations: 367.7 kB / 4.361 GB, free: 116.3 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003024/10.16, allocations: 273.4 kB / 4.362 GB, free: 116 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.001e-05/10.16, allocations: 51.44 kB / 4.362 GB, free: 115.9 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=67): time 3.667e-06/10.16, allocations: 0.6562 kB / 4.362 GB, free: 115.9 MB / 0.9636 GB Notification: Performance of matching and sorting (n=67): time 0.002219/10.16, allocations: 0.808 MB / 4.362 GB, free: 115.5 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.417e-05/10.16, allocations: 57.81 kB / 4.362 GB, free: 115.5 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001237/10.17, allocations: 0.9146 MB / 4.363 GB, free: 115 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001143/10.17, allocations: 29.58 kB / 4.363 GB, free: 115 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003119/10.17, allocations: 0.5749 MB / 4.364 GB, free: 114.5 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002427/10.17, allocations: 226.5 kB / 4.364 GB, free: 114.3 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.698e-05/10.17, allocations: 0 / 4.364 GB, free: 114.3 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.904e-05/10.17, allocations: 342 kB / 4.364 GB, free: 113.9 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004343/10.17, allocations: 303.6 kB / 4.365 GB, free: 113.8 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006834/10.17, allocations: 0.6225 MB / 4.365 GB, free: 113.2 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006328/10.17, allocations: 419.4 kB / 4.366 GB, free: 113 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/10.17, allocations: 6.75 kB / 4.366 GB, free: 113 MB / 0.9636 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001613/10.17, allocations: 0.9768 MB / 4.367 GB, free: 112.6 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005511/10.17, allocations: 2.475 MB / 4.369 GB, free: 110 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/10.17, allocations: 5.219 kB / 4.369 GB, free: 110 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.994e-05/10.17, allocations: 16.28 kB / 4.369 GB, free: 110 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009041/10.17, allocations: 191.3 kB / 4.369 GB, free: 109.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.269e-05/10.17, allocations: 18.38 kB / 4.369 GB, free: 109.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001882/10.17, allocations: 142.6 kB / 4.369 GB, free: 109.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/10.17, allocations: 36.89 kB / 4.37 GB, free: 109.8 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/10.17, allocations: 5.969 kB / 4.37 GB, free: 109.8 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001297/10.17, allocations: 0.8031 MB / 4.37 GB, free: 109.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/10.17, allocations: 5.875 kB / 4.37 GB, free: 109.5 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/10.17, allocations: 20.12 kB / 4.37 GB, free: 109.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008361/10.18, allocations: 194.5 kB / 4.371 GB, free: 109.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/10.18, allocations: 14.44 kB / 4.371 GB, free: 109.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001631/10.18, allocations: 118.5 kB / 4.371 GB, free: 109.4 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.884e-05/10.18, allocations: 42.8 kB / 4.371 GB, free: 109.3 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.0002808/10.18, allocations: 124.8 kB / 4.371 GB, free: 109.2 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002851/10.18, allocations: 140 kB / 4.371 GB, free: 109.1 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001548/10.18, allocations: 0.7783 MB / 4.372 GB, free: 108.7 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/10.18, allocations: 7.656 kB / 4.372 GB, free: 108.7 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/10.18, allocations: 0 / 4.372 GB, free: 108.7 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009478/10.18, allocations: 0.7629 MB / 4.372 GB, free: 108.1 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003573/10.18, allocations: 2.171 MB / 4.375 GB, free: 105.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/10.18, allocations: 11.12 kB / 4.375 GB, free: 105.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008625/10.18, allocations: 163.8 kB / 4.375 GB, free: 105.7 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.143e-05/10.18, allocations: 11.98 kB / 4.375 GB, free: 105.7 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.668e-05/10.18, allocations: 8 kB / 4.375 GB, free: 105.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.561e-06/10.18, allocations: 4 kB / 4.375 GB, free: 105.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/10.18, allocations: 4 kB / 4.375 GB, free: 105.7 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001593/10.19, allocations: 1.375 MB / 4.376 GB, free: 104.3 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007102/10.19, allocations: 318.5 kB / 4.376 GB, free: 103.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001952/10.19, allocations: 8 kB / 4.376 GB, free: 103.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001127/10.19, allocations: 85.72 kB / 4.377 GB, free: 103.9 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.711e-05/10.19, allocations: 43.48 kB / 4.377 GB, free: 103.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.775e-05/10.19, allocations: 31.98 kB / 4.377 GB, free: 103.8 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.0009194/10.19, allocations: 0.6853 MB / 4.377 GB, free: 103.1 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003057/10.19, allocations: 1.068 MB / 4.378 GB, free: 102 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.004754/10.2, allocations: 3.527 MB / 4.382 GB, free: 98.95 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002037/10.2, allocations: 1.233 MB / 4.383 GB, free: 97.72 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/10.2, allocations: 4 kB / 4.383 GB, free: 97.71 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0003976/10.2, allocations: 346.3 kB / 4.383 GB, free: 97.38 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003887/10.2, allocations: 0.7251 MB / 4.384 GB, free: 96.71 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004507/10.21, allocations: 2.316 MB / 4.386 GB, free: 94.55 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00111/10.21, allocations: 1.498 MB / 4.388 GB, free: 93.05 MB / 0.9636 GB Notification: Performance of SimCode: time 9.82e-07/10.21, allocations: 2.281 kB / 4.388 GB, free: 93.05 MB / 0.9636 GB Notification: Performance of Templates: time 0.07128/10.28, allocations: 47.08 MB / 4.434 GB, free: 46.95 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)