Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="Buildings_6_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 loadModel(Buildings): time 4.083/4.083, allocations: 433 MB / 440.3 MB, free: 4.836 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.6343/4.718, allocations: 104.3 MB / 0.5319 GB, free: 12.9 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/4.967, allocations: 98.73 MB / 0.6283 GB, free: 9.863 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.583/10.55, allocations: 2.196 GB / 2.825 GB, free: 151.9 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002777/10.55, allocations: 94.02 kB / 2.825 GB, free: 151.8 MB / 0.823 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.369/16.92, allocations: 1.251 GB / 4.076 GB, free: 101.4 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/16.92, allocations: 8.938 kB / 4.076 GB, free: 101.4 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009353/16.93, allocations: 0.6474 MB / 4.076 GB, free: 101.3 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006415/16.93, allocations: 1.52 MB / 4.078 GB, free: 100.9 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001319/16.94, allocations: 44.28 kB / 4.078 GB, free: 100.9 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007027/16.94, allocations: 85.69 kB / 4.078 GB, free: 100.9 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004639/16.94, allocations: 1.228 MB / 4.079 GB, free: 100.9 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004665/16.95, allocations: 1.31 MB / 4.08 GB, free: 100.7 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.184e-05/16.95, allocations: 0 / 4.08 GB, free: 100.7 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000278/16.95, allocations: 3.812 kB / 4.08 GB, free: 100.7 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.935e-05/16.95, allocations: 44.48 kB / 4.08 GB, free: 100.7 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01605/16.96, allocations: 7.512 MB / 4.088 GB, free: 96.5 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002433/16.96, allocations: 0.6808 MB / 4.088 GB, free: 96.46 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001458/16.97, allocations: 363.8 kB / 4.089 GB, free: 96.45 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005975/16.97, allocations: 274.3 kB / 4.089 GB, free: 96.17 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.761e-05/16.97, allocations: 47.28 kB / 4.089 GB, free: 96.12 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=69): time 6.833e-06/16.97, allocations: 0 / 4.089 GB, free: 96.12 MB / 0.8386 GB Notification: Performance of matching and sorting (n=69): time 0.006408/16.97, allocations: 0.8069 MB / 4.09 GB, free: 96.01 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/16.97, allocations: 63.67 kB / 4.09 GB, free: 95.95 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003716/16.98, allocations: 0.9173 MB / 4.091 GB, free: 95.79 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0003862/16.98, allocations: 28.86 kB / 4.091 GB, free: 95.75 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000656/16.98, allocations: 0.5972 MB / 4.091 GB, free: 95.4 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004871/16.98, allocations: 242.1 kB / 4.092 GB, free: 95.25 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.691e-05/16.98, allocations: 3.938 kB / 4.092 GB, free: 95.25 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001083/16.98, allocations: 342.6 kB / 4.092 GB, free: 94.94 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008797/16.98, allocations: 309.3 kB / 4.092 GB, free: 94.94 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00114/16.98, allocations: 0.7009 MB / 4.093 GB, free: 94.45 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001244/16.98, allocations: 449.2 kB / 4.093 GB, free: 94.43 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-05/16.98, allocations: 3.969 kB / 4.093 GB, free: 94.43 MB / 0.8386 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003097/16.99, allocations: 1.064 MB / 4.094 GB, free: 94.25 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.001017/16.99, allocations: 4.492 MB / 4.099 GB, free: 89.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.505e-05/16.99, allocations: 11.22 kB / 4.099 GB, free: 89.62 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.91e-05/16.99, allocations: 17.81 kB / 4.099 GB, free: 89.62 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002031/16.99, allocations: 227.2 kB / 4.099 GB, free: 89.61 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.862e-05/16.99, allocations: 25.19 kB / 4.099 GB, free: 89.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003224/16.99, allocations: 154.2 kB / 4.099 GB, free: 89.55 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002666/16.99, allocations: 55.11 kB / 4.099 GB, free: 89.55 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/16.99, allocations: 3.781 kB / 4.099 GB, free: 89.55 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002467/16.99, allocations: 0.8933 MB / 4.1 GB, free: 89.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.061e-05/16.99, allocations: 16 kB / 4.1 GB, free: 89.47 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.951e-05/16.99, allocations: 26 kB / 4.1 GB, free: 89.47 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001747/17, allocations: 227.3 kB / 4.1 GB, free: 89.45 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.309e-05/17, allocations: 28.73 kB / 4.1 GB, free: 89.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002864/17, allocations: 137.5 kB / 4.101 GB, free: 89.4 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001853/17, allocations: 50.25 kB / 4.101 GB, free: 89.4 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 2 (senMas1.i_x,senMas2.i_x) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 2 * 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.0003873/17, allocations: 138.8 kB / 4.101 GB, free: 89.27 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004666/17, allocations: 136 kB / 4.101 GB, free: 89.2 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002485/17, allocations: 0.7914 MB / 4.102 GB, free: 89.13 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-05/17, allocations: 13.31 kB / 4.102 GB, free: 89.13 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/17, allocations: 3.906 kB / 4.102 GB, free: 89.13 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00158/17, allocations: 0.7777 MB / 4.102 GB, free: 88.86 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007116/17.01, allocations: 2.154 MB / 4.105 GB, free: 88.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.023e-05/17.01, allocations: 3.812 kB / 4.105 GB, free: 88.49 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001816/17.01, allocations: 174.4 kB / 4.105 GB, free: 88.48 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.831e-05/17.01, allocations: 7.375 kB / 4.105 GB, free: 88.48 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001017/17.01, allocations: 9.422 kB / 4.105 GB, free: 88.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.185e-06/17.01, allocations: 3.719 kB / 4.105 GB, free: 88.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.309e-06/17.01, allocations: 7.188 kB / 4.105 GB, free: 88.48 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003407/17.02, allocations: 1.389 MB / 4.106 GB, free: 88.07 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008295/17.03, allocations: 2.39 MB / 4.108 GB, free: 87.3 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001845/17.03, allocations: 322.5 kB / 4.109 GB, free: 87.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008043/17.03, allocations: 3.594 kB / 4.109 GB, free: 87.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003347/17.03, allocations: 86.17 kB / 4.109 GB, free: 87.12 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002336/17.03, allocations: 39.89 kB / 4.109 GB, free: 87.12 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001318/17.03, allocations: 36.48 kB / 4.109 GB, free: 87.11 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.001661/17.03, allocations: 0.6805 MB / 4.11 GB, free: 87 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.009707/17.04, allocations: 1.917 MB / 4.111 GB, free: 86.86 MB / 0.8386 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 (74): * Single equations (assignments): 74 * 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.006251/17.05, allocations: 3.556 MB / 4.115 GB, free: 85.46 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0036/17.05, allocations: 1.415 MB / 4.116 GB, free: 85.25 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 9.548e-06/17.05, allocations: 0 / 4.116 GB, free: 85.25 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0008194/17.05, allocations: 355.5 kB / 4.117 GB, free: 85.23 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007403/17.06, allocations: 0.7329 MB / 4.117 GB, free: 85.21 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007198/17.07, allocations: 2.336 MB / 4.12 GB, free: 84.61 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003497/17.07, allocations: 1.522 MB / 4.121 GB, free: 83.82 MB / 0.8386 GB Notification: Performance of SimCode: time 2.525e-06/17.07, allocations: 0 / 4.121 GB, free: 83.82 MB / 0.8386 GB