Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.027/2.027, allocations: 253.1 MB / 260.4 MB, free: 7.484 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00177/0.00177, allocations: 177.3 kB / 319.6 MB, free: 3.332 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.873/1.873, allocations: 205.4 MB / 0.5704 GB, free: 14.96 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00123/0.00123, allocations: 85.03 kB / 0.6746 GB, free: 4.336 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.021e-05/1.041e-05, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.204/0.2041, allocations: 106.3 MB / 0.888 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.709/5.913, allocations: 2.201 GB / 3.089 GB, free: 159.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003197/5.914, allocations: 86.08 kB / 3.089 GB, free: 159.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 6.03/11.94, allocations: 1.256 GB / 4.345 GB, free: 116.8 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.000235/11.94, allocations: 45.19 kB / 4.345 GB, free: 116.8 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.00717/11.95, allocations: 2.111 MB / 4.347 GB, free: 115.9 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/11.95, allocations: 11.44 kB / 4.347 GB, free: 115.9 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008788/11.96, allocations: 0.6502 MB / 4.348 GB, free: 115.8 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006652/11.97, allocations: 1.765 MB / 4.349 GB, free: 115.5 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.941e-05/11.97, allocations: 45.81 kB / 4.35 GB, free: 115.5 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003108/11.97, allocations: 88.34 kB / 4.35 GB, free: 115.5 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003823/11.97, allocations: 1.211 MB / 4.351 GB, free: 115.5 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003812/11.97, allocations: 1.325 MB / 4.352 GB, free: 115.3 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.075e-05/11.97, allocations: 3.062 kB / 4.352 GB, free: 115.3 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002297/11.97, allocations: 3.969 kB / 4.352 GB, free: 115.3 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.411e-05/11.97, allocations: 44.67 kB / 4.352 GB, free: 115.3 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01455/11.99, allocations: 7.28 MB / 4.359 GB, free: 111.4 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001674/11.99, allocations: 0.653 MB / 4.36 GB, free: 111.4 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008203/11.99, allocations: 367.9 kB / 4.36 GB, free: 111.3 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003825/11.99, allocations: 269.5 kB / 4.36 GB, free: 111.1 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.796e-05/11.99, allocations: 44.34 kB / 4.361 GB, free: 111 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=67): time 5.56e-06/11.99, allocations: 2.5 kB / 4.361 GB, free: 111 MB / 0.9011 GB Notification: Performance of matching and sorting (n=67): time 0.003353/12, allocations: 0.7911 MB / 4.361 GB, free: 110.9 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.046e-05/12, allocations: 63.81 kB / 4.361 GB, free: 110.8 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002108/12, allocations: 0.9073 MB / 4.362 GB, free: 110.7 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0002788/12, allocations: 31.55 kB / 4.362 GB, free: 110.7 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008466/12, allocations: 0.5784 MB / 4.363 GB, free: 110.4 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.001095/12, allocations: 226.8 kB / 4.363 GB, free: 110.3 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001443/12, allocations: 0 / 4.363 GB, free: 110.3 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001435/12, allocations: 350.3 kB / 4.363 GB, free: 110 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008055/12, allocations: 302 kB / 4.364 GB, free: 110 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000982/12, allocations: 0.588 MB / 4.364 GB, free: 109.6 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009706/12, allocations: 402.8 kB / 4.365 GB, free: 109.6 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.887e-06/12, allocations: 7.047 kB / 4.365 GB, free: 109.6 MB / 0.9011 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002552/12.01, allocations: 0.9574 MB / 4.366 GB, free: 109.5 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005286/12.01, allocations: 2.643 MB / 4.368 GB, free: 106.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.81e-05/12.01, allocations: 7 kB / 4.368 GB, free: 106.8 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.777e-05/12.01, allocations: 15.2 kB / 4.368 GB, free: 106.8 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001807/12.01, allocations: 198.2 kB / 4.368 GB, free: 106.8 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.109e-05/12.01, allocations: 20.28 kB / 4.368 GB, free: 106.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00296/12.01, allocations: 136.4 kB / 4.369 GB, free: 106.8 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001529/12.01, allocations: 41.92 kB / 4.369 GB, free: 106.8 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/12.01, allocations: 11.12 kB / 4.369 GB, free: 106.8 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00205/12.01, allocations: 0.7953 MB / 4.369 GB, free: 106.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/12.01, allocations: 7.281 kB / 4.369 GB, free: 106.7 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/12.01, allocations: 11.31 kB / 4.369 GB, free: 106.7 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001555/12.02, allocations: 195.8 kB / 4.37 GB, free: 106.7 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.517e-05/12.02, allocations: 14.72 kB / 4.37 GB, free: 106.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0027/12.02, allocations: 119.4 kB / 4.37 GB, free: 106.7 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001263/12.02, allocations: 41.17 kB / 4.37 GB, free: 106.7 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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.0003717/12.02, allocations: 136.1 kB / 4.37 GB, free: 106.6 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003689/12.02, allocations: 134.7 kB / 4.37 GB, free: 106.6 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002267/12.02, allocations: 0.7661 MB / 4.371 GB, free: 106.5 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/12.02, allocations: 5.984 kB / 4.371 GB, free: 106.5 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/12.02, allocations: 3.906 kB / 4.371 GB, free: 106.5 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001382/12.02, allocations: 0.7604 MB / 4.371 GB, free: 106.2 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005654/12.03, allocations: 2.178 MB / 4.374 GB, free: 105.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/12.03, allocations: 3.812 kB / 4.374 GB, free: 105.9 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001662/12.03, allocations: 173.2 kB / 4.374 GB, free: 105.9 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-05/12.03, allocations: 3.156 kB / 4.374 GB, free: 105.9 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.306e-05/12.03, allocations: 10.53 kB / 4.374 GB, free: 105.9 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.788e-06/12.03, allocations: 13.3 kB / 4.374 GB, free: 105.9 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/12.03, allocations: 0 / 4.374 GB, free: 105.9 MB / 0.9011 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002806/12.03, allocations: 1.359 MB / 4.375 GB, free: 105.5 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001066/12.03, allocations: 331.5 kB / 4.375 GB, free: 105.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003079/12.03, allocations: 9.406 kB / 4.375 GB, free: 105.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002126/12.04, allocations: 92.89 kB / 4.376 GB, free: 105.3 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/12.04, allocations: 38.97 kB / 4.376 GB, free: 105.3 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001144/12.04, allocations: 30.58 kB / 4.376 GB, free: 105.3 MB / 0.9011 GB Notification: Performance of sort global known variables: time 0.00144/12.04, allocations: 0.6868 MB / 4.376 GB, free: 105.2 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.004246/12.04, allocations: 1.084 MB / 4.377 GB, free: 105.1 MB / 0.9011 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.006085/12.05, allocations: 3.531 MB / 4.381 GB, free: 103.7 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.003143/12.05, allocations: 1.213 MB / 4.382 GB, free: 103.7 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/12.05, allocations: 3.625 kB / 4.382 GB, free: 103.7 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0007937/12.05, allocations: 340.9 kB / 4.382 GB, free: 103.7 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007146/12.06, allocations: 0.735 MB / 4.383 GB, free: 103.6 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007098/12.07, allocations: 2.304 MB / 4.385 GB, free: 103 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001908/12.07, allocations: 1.508 MB / 4.387 GB, free: 102.3 MB / 0.9011 GB Notification: Performance of SimCode: time 1.292e-06/12.07, allocations: 0 / 4.387 GB, free: 102.3 MB / 0.9011 GB Notification: Performance of Templates: time 0.1326/12.2, allocations: 46.91 MB / 4.433 GB, free: 100.5 MB / 0.9011 GB