Running: ./testmodel.py --libraries=/home/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 (/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier",fmuType="me",version="2.0",platforms={"static"}) [: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 7.0.1/package.mo): time 2.186/2.186, allocations: 248.6 MB / 255.9 MB, free: 7.156 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002598/0.002598, allocations: 185.2 kB / 315.1 MB, free: 4.266 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.987/1.987, allocations: 205.1 MB / 0.5658 GB, free: 304 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001283/0.001282, allocations: 83.34 kB / 0.67 GB, free: 5.508 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4891/0.4904, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.6969, allocations: 106.2 MB / 0.8835 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.719/6.416, allocations: 2.201 GB / 3.085 GB, free: 166.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003369/6.417, allocations: 87.58 kB / 3.085 GB, free: 166.5 MB / 0.8698 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 6.503/12.92, allocations: 1.258 GB / 4.343 GB, free: 115.5 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/12.92, allocations: 7.875 kB / 4.343 GB, free: 115.5 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009003/12.93, allocations: 0.6502 MB / 4.343 GB, free: 115.4 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007904/12.94, allocations: 1.773 MB / 4.345 GB, free: 115.1 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001027/12.94, allocations: 44.92 kB / 4.345 GB, free: 115.1 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006445/12.94, allocations: 80.66 kB / 4.345 GB, free: 115.1 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004937/12.94, allocations: 1.213 MB / 4.346 GB, free: 115.1 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005071/12.95, allocations: 1.317 MB / 4.347 GB, free: 114.9 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.597e-05/12.95, allocations: 3.281 kB / 4.347 GB, free: 114.9 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002472/12.95, allocations: 3.906 kB / 4.347 GB, free: 114.9 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-05/12.95, allocations: 47.05 kB / 4.348 GB, free: 114.8 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01571/12.96, allocations: 7.301 MB / 4.355 GB, free: 110.9 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001704/12.97, allocations: 0.6478 MB / 4.355 GB, free: 110.9 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008173/12.97, allocations: 364.6 kB / 4.356 GB, free: 110.9 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003974/12.97, allocations: 280.5 kB / 4.356 GB, free: 110.6 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.652e-05/12.97, allocations: 42.41 kB / 4.356 GB, free: 110.6 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=67): time 3.386e-06/12.97, allocations: 0 / 4.356 GB, free: 110.6 MB / 0.9011 GB Notification: Performance of matching and sorting (n=67): time 0.003334/12.97, allocations: 0.7963 MB / 4.357 GB, free: 110.5 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/12.97, allocations: 55.5 kB / 4.357 GB, free: 110.4 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002013/12.97, allocations: 0.9162 MB / 4.358 GB, free: 110.3 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0002211/12.97, allocations: 28.83 kB / 4.358 GB, free: 110.2 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003933/12.97, allocations: 0.5745 MB / 4.358 GB, free: 110 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003601/12.97, allocations: 233.3 kB / 4.358 GB, free: 109.9 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.37e-05/12.97, allocations: 2.906 kB / 4.358 GB, free: 109.9 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001013/12.97, allocations: 345.2 kB / 4.359 GB, free: 109.6 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007692/12.98, allocations: 296.2 kB / 4.359 GB, free: 109.5 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009898/12.98, allocations: 0.5875 MB / 4.36 GB, free: 109.2 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009845/12.98, allocations: 406.1 kB / 4.36 GB, free: 109.2 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.904e-06/12.98, allocations: 0 / 4.36 GB, free: 109.2 MB / 0.9011 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002602/12.98, allocations: 0.9608 MB / 4.361 GB, free: 109.1 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005858/12.98, allocations: 2.642 MB / 4.364 GB, free: 106.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.905e-05/12.98, allocations: 7.906 kB / 4.364 GB, free: 106.4 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.902e-05/12.98, allocations: 10.78 kB / 4.364 GB, free: 106.4 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001793/12.98, allocations: 201.1 kB / 4.364 GB, free: 106.4 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.48e-05/12.98, allocations: 18.91 kB / 4.364 GB, free: 106.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002891/12.99, allocations: 129.4 kB / 4.364 GB, free: 106.3 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000128/12.99, allocations: 39.53 kB / 4.364 GB, free: 106.3 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/12.99, allocations: 3.812 kB / 4.364 GB, free: 106.3 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002011/12.99, allocations: 0.8027 MB / 4.365 GB, free: 106.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/12.99, allocations: 7.844 kB / 4.365 GB, free: 106.3 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/12.99, allocations: 15 kB / 4.365 GB, free: 106.3 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001546/12.99, allocations: 195 kB / 4.365 GB, free: 106.3 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.877e-05/12.99, allocations: 18.36 kB / 4.365 GB, free: 106.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002697/12.99, allocations: 124.6 kB / 4.365 GB, free: 106.3 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/12.99, allocations: 38.91 kB / 4.365 GB, free: 106.3 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.0003694/12.99, allocations: 140.1 kB / 4.365 GB, free: 106.2 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003587/12.99, allocations: 135.8 kB / 4.365 GB, free: 106.1 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002273/12.99, allocations: 0.7674 MB / 4.366 GB, free: 106.1 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/12.99, allocations: 6.406 kB / 4.366 GB, free: 106.1 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/12.99, allocations: 0 / 4.366 GB, free: 106.1 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001371/13, allocations: 0.7604 MB / 4.367 GB, free: 105.8 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005861/13, allocations: 2.171 MB / 4.369 GB, free: 105.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/13, allocations: 7.781 kB / 4.369 GB, free: 105.4 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001751/13, allocations: 169.2 kB / 4.369 GB, free: 105.4 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.377e-05/13, allocations: 7.875 kB / 4.369 GB, free: 105.4 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000106/13, allocations: 12.31 kB / 4.369 GB, free: 105.4 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.476e-06/13, allocations: 6.719 kB / 4.369 GB, free: 105.4 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.326e-06/13, allocations: 7.141 kB / 4.369 GB, free: 105.4 MB / 0.9011 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003141/13.01, allocations: 1.354 MB / 4.371 GB, free: 105.1 MB / 0.9011 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004678/13.01, allocations: 2.343 MB / 4.373 GB, free: 104.3 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001359/13.01, allocations: 332.2 kB / 4.373 GB, free: 104.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003793/13.01, allocations: 12.02 kB / 4.373 GB, free: 104.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002329/13.02, allocations: 91.72 kB / 4.373 GB, free: 104.2 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/13.02, allocations: 39.66 kB / 4.373 GB, free: 104.2 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001367/13.02, allocations: 35.11 kB / 4.373 GB, free: 104.2 MB / 0.9011 GB Notification: Performance of sort global known variables: time 0.001635/13.02, allocations: 0.685 MB / 4.374 GB, free: 104 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.009252/13.03, allocations: 1.904 MB / 4.376 GB, free: 103.9 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.005998/13.03, allocations: 3.547 MB / 4.379 GB, free: 102.6 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.003182/13.04, allocations: 1.212 MB / 4.38 GB, free: 102.5 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.11e-05/13.04, allocations: 3.594 kB / 4.38 GB, free: 102.5 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0008071/13.04, allocations: 338.3 kB / 4.381 GB, free: 102.5 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00723/13.04, allocations: 0.728 MB / 4.382 GB, free: 102.5 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007713/13.05, allocations: 2.325 MB / 4.384 GB, free: 101.9 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002054/13.05, allocations: 1.511 MB / 4.385 GB, free: 101.2 MB / 0.9011 GB Notification: Performance of SimCode: time 1.393e-06/13.05, allocations: 3.062 kB / 4.385 GB, free: 101.2 MB / 0.9011 GB