Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.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.Humidifiers.Examples.Humidifier_u,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Humidifiers_Examples_Humidifier_u",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.193/2.193, allocations: 248.6 MB / 255.9 MB, free: 7.086 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.001706/0.001705, allocations: 191 kB / 315.1 MB, free: 4.254 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.913/1.913, allocations: 205.1 MB / 0.5658 GB, free: 296 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.001397/0.001396, allocations: 91.27 kB / 0.67 GB, free: 5.508 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4581/0.4595, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.7, allocations: 106.3 MB / 0.8835 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.812/6.512, allocations: 2.205 GB / 3.089 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003805/6.512, allocations: 87.52 kB / 3.089 GB, free: 163 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: 302 * Number of variables: 302 Notification: Performance of Generate backend data structure: time 4.99/11.5, allocations: 1.008 GB / 4.097 GB, free: 131.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.468e-05/11.5, allocations: 9 kB / 4.097 GB, free: 131.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006894/11.51, allocations: 0.6212 MB / 4.098 GB, free: 131 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006852/11.52, allocations: 1.479 MB / 4.099 GB, free: 130 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007621/11.52, allocations: 121.4 kB / 4.099 GB, free: 129.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005887/11.52, allocations: 73.34 kB / 4.1 GB, free: 129.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006257/11.52, allocations: 1.021 MB / 4.101 GB, free: 129.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006856/11.53, allocations: 1.241 MB / 4.102 GB, free: 127.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.715e-05/11.53, allocations: 0 / 4.102 GB, free: 127.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003254/11.53, allocations: 0 / 4.102 GB, free: 127.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.672e-05/11.53, allocations: 42.28 kB / 4.102 GB, free: 127.9 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02405/11.56, allocations: 6.146 MB / 4.108 GB, free: 121.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002118/11.56, allocations: 0.5301 MB / 4.108 GB, free: 121.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001509/11.56, allocations: 446.7 kB / 4.109 GB, free: 120.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001356/11.56, allocations: 485 kB / 4.109 GB, free: 120.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001722/11.56, allocations: 0.5028 MB / 4.11 GB, free: 119.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=79): time 5.631e-06/11.56, allocations: 3.609 kB / 4.11 GB, free: 119.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=79): time 0.007305/11.57, allocations: 1.105 MB / 4.111 GB, free: 118.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/11.57, allocations: 192.6 kB / 4.111 GB, free: 118.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003241/11.57, allocations: 0.9376 MB / 4.112 GB, free: 117.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.000379/11.57, allocations: 25.7 kB / 4.112 GB, free: 117.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000719/11.57, allocations: 0.5126 MB / 4.112 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005955/11.57, allocations: 259.9 kB / 4.113 GB, free: 116.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/11.57, allocations: 0 / 4.113 GB, free: 116.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001252/11.58, allocations: 337.9 kB / 4.113 GB, free: 116.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001319/11.58, allocations: 329.9 kB / 4.113 GB, free: 115.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001604/11.58, allocations: 0.5736 MB / 4.114 GB, free: 115.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002218/11.58, allocations: 465.6 kB / 4.114 GB, free: 114.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.16e-05/11.58, allocations: 4 kB / 4.114 GB, free: 114.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.005379/11.59, allocations: 1.118 MB / 4.115 GB, free: 113.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004679/11.59, allocations: 1.694 MB / 4.117 GB, free: 111.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.187e-05/11.59, allocations: 7.938 kB / 4.117 GB, free: 111.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003672/11.59, allocations: 48.84 kB / 4.117 GB, free: 111.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002987/11.59, allocations: 203.2 kB / 4.117 GB, free: 111.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008727/11.59, allocations: 0.6108 MB / 4.118 GB, free: 110.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00455/11.6, allocations: 155.7 kB / 4.118 GB, free: 110.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000396/11.6, allocations: 46.92 kB / 4.118 GB, free: 110.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/11.6, allocations: 0 / 4.118 GB, free: 110.7 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004497/11.6, allocations: 0.9145 MB / 4.119 GB, free: 109.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.813e-05/11.6, allocations: 4 kB / 4.119 GB, free: 109.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003624/11.6, allocations: 48.83 kB / 4.119 GB, free: 109.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002858/11.6, allocations: 208.8 kB / 4.119 GB, free: 109.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002537/11.61, allocations: 1.464 MB / 4.121 GB, free: 108 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004509/11.61, allocations: 166.4 kB / 4.121 GB, free: 107.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003103/11.61, allocations: 40.05 kB / 4.121 GB, free: 107.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0005697/11.61, allocations: 162.4 kB / 4.121 GB, free: 107.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000645/11.61, allocations: 150.1 kB / 4.121 GB, free: 107.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005163/11.62, allocations: 1.055 MB / 4.122 GB, free: 106.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.858e-05/11.62, allocations: 8 kB / 4.122 GB, free: 106.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/11.62, allocations: 0 / 4.122 GB, free: 106.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004248/11.62, allocations: 0.9321 MB / 4.123 GB, free: 105.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01193/11.63, allocations: 2.547 MB / 4.126 GB, free: 102.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.349e-05/11.63, allocations: 0 / 4.126 GB, free: 102.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002907/11.64, allocations: 186.1 kB / 4.126 GB, free: 102.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000272/11.64, allocations: 48.39 kB / 4.126 GB, free: 102.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000226/11.64, allocations: 12 kB / 4.126 GB, free: 102.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006447/11.64, allocations: 0.5913 MB / 4.126 GB, free: 102 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/11.64, allocations: 0 / 4.126 GB, free: 102 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005023/11.64, allocations: 1.827 MB / 4.128 GB, free: 100 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006652/11.65, allocations: 2.884 MB / 4.131 GB, free: 97.04 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001647/11.65, allocations: 352.3 kB / 4.131 GB, free: 96.68 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005296/11.65, allocations: 4 kB / 4.131 GB, free: 96.68 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002691/11.65, allocations: 127.3 kB / 4.131 GB, free: 96.56 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002069/11.66, allocations: 47.66 kB / 4.132 GB, free: 96.52 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001483/11.66, allocations: 43.88 kB / 4.132 GB, free: 96.48 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001597/11.66, allocations: 0.7147 MB / 4.132 GB, free: 95.77 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01135/11.67, allocations: 1.564 MB / 4.134 GB, free: 94.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (senTem1.T,con1.I.y,humDyn.vol.dynBal.U,humDyn.vol.dynBal.mXi[1],senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.005764/11.67, allocations: 2.625 MB / 4.136 GB, free: 91.97 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.004187/11.68, allocations: 1.52 MB / 4.138 GB, free: 90.43 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.218e-05/11.68, allocations: 6.781 kB / 4.138 GB, free: 90.43 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001209/11.68, allocations: 493.9 kB / 4.138 GB, free: 89.94 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006479/11.69, allocations: 0.6705 MB / 4.139 GB, free: 89.28 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01225/11.7, allocations: 2.573 MB / 4.141 GB, free: 86.66 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002078/11.7, allocations: 1.497 MB / 4.143 GB, free: 85.12 MB / 0.8698 GB Notification: Performance of SimCode: time 2.284e-06/11.7, allocations: 0 / 4.143 GB, free: 85.12 MB / 0.8698 GB