Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.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.Validation.SteamHumidifier_X_dynamic,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic",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.178/2.178, allocations: 248.6 MB / 255.9 MB, free: 7.172 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.001592/0.001592, allocations: 187.5 kB / 315.1 MB, free: 4.289 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.016/2.016, allocations: 205.1 MB / 0.5658 GB, free: 372 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.001476/0.001476, allocations: 93.61 kB / 0.67 GB, free: 5.582 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4801/0.4817, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2217/0.7034, allocations: 106.3 MB / 0.8835 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.866/6.569, allocations: 2.201 GB / 3.084 GB, free: 163.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002946/6.57, allocations: 87.89 kB / 3.084 GB, free: 163.8 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 2.799/9.369, allocations: 0.5811 GB / 3.665 GB, free: 186.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/9.369, allocations: 7.688 kB / 3.665 GB, free: 186.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002166/9.371, allocations: 242.4 kB / 3.666 GB, free: 186.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003422/9.374, allocations: 0.8814 MB / 3.666 GB, free: 186.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.503e-05/9.375, allocations: 14.94 kB / 3.666 GB, free: 186.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/9.375, allocations: 31.44 kB / 3.666 GB, free: 186.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001101/9.376, allocations: 365.5 kB / 3.667 GB, free: 186.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/9.377, allocations: 435.5 kB / 3.667 GB, free: 186.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/9.377, allocations: 0 / 3.667 GB, free: 186.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.325e-05/9.377, allocations: 10.44 kB / 3.667 GB, free: 186.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.468e-05/9.377, allocations: 16.09 kB / 3.667 GB, free: 186.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004389/9.381, allocations: 2.25 MB / 3.669 GB, free: 184.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005376/9.382, allocations: 240.7 kB / 3.67 GB, free: 184.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002754/9.382, allocations: 123.5 kB / 3.67 GB, free: 184.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001492/9.384, allocations: 0.8297 MB / 3.671 GB, free: 184 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004295/9.384, allocations: 195.5 kB / 3.671 GB, free: 183.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=26): time 3.056e-06/9.384, allocations: 0 / 3.671 GB, free: 183.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=26): time 0.001831/9.386, allocations: 410.5 kB / 3.671 GB, free: 183.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/9.386, allocations: 106.9 kB / 3.671 GB, free: 183.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007858/9.387, allocations: 463.1 kB / 3.672 GB, free: 183.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.366e-05/9.387, allocations: 25.7 kB / 3.672 GB, free: 183.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001868/9.387, allocations: 248.8 kB / 3.672 GB, free: 183.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 9.486e-05/9.387, allocations: 91.95 kB / 3.672 GB, free: 183.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.713e-05/9.387, allocations: 0 / 3.672 GB, free: 183.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001101/9.388, allocations: 365.5 kB / 3.672 GB, free: 183.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002703/9.388, allocations: 101.5 kB / 3.672 GB, free: 183.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004133/9.388, allocations: 294.9 kB / 3.673 GB, free: 182.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008372/9.389, allocations: 228 kB / 3.673 GB, free: 182.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.563e-06/9.389, allocations: 3.938 kB / 3.673 GB, free: 182.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001472/9.391, allocations: 474.4 kB / 3.673 GB, free: 182.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000396/9.391, allocations: 1.83 MB / 3.675 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/9.391, allocations: 7.297 kB / 3.675 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.741e-05/9.391, allocations: 9.719 kB / 3.675 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006921/9.392, allocations: 89.44 kB / 3.675 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/9.392, allocations: 3.656 kB / 3.675 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008089/9.393, allocations: 48.44 kB / 3.675 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.297e-05/9.393, allocations: 20.47 kB / 3.675 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/9.393, allocations: 4.812 kB / 3.675 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001323/9.394, allocations: 401.2 kB / 3.676 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/9.394, allocations: 3.375 kB / 3.676 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/9.394, allocations: 14.22 kB / 3.676 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006226/9.395, allocations: 90.11 kB / 3.676 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/9.395, allocations: 6.875 kB / 3.676 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007165/9.396, allocations: 36.52 kB / 3.676 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.165e-05/9.396, allocations: 24.94 kB / 3.676 GB, free: 180.9 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.XSet.nextTimeEvent,XSet.nextTimeEvent,$PRE.XSet.nextTimeEventScaled,XSet.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 47 * 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.0001891/9.396, allocations: 119.1 kB / 3.676 GB, free: 180.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001184/9.396, allocations: 52.53 kB / 3.676 GB, free: 180.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001366/9.397, allocations: 376.2 kB / 3.676 GB, free: 180.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/9.397, allocations: 3.406 kB / 3.676 GB, free: 180.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/9.397, allocations: 0 / 3.676 GB, free: 180.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.577e-06/9.397, allocations: 4 kB / 3.676 GB, free: 180.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002481/9.4, allocations: 1.166 MB / 3.678 GB, free: 180.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.513e-06/9.4, allocations: 6.281 kB / 3.678 GB, free: 180.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004522/9.4, allocations: 45.25 kB / 3.678 GB, free: 180.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.418e-06/9.4, allocations: 3.781 kB / 3.678 GB, free: 180.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.669e-05/9.4, allocations: 3.875 kB / 3.678 GB, free: 180.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.675e-06/9.4, allocations: 11.67 kB / 3.678 GB, free: 180.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/9.4, allocations: 7.25 kB / 3.678 GB, free: 180.2 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001574/9.402, allocations: 0.7706 MB / 3.678 GB, free: 179.8 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002188/9.404, allocations: 1.372 MB / 3.68 GB, free: 179 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003114/9.405, allocations: 164.9 kB / 3.68 GB, free: 178.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001292/9.405, allocations: 7.906 kB / 3.68 GB, free: 178.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004821/9.405, allocations: 18.89 kB / 3.68 GB, free: 178.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.63e-05/9.405, allocations: 12.61 kB / 3.68 GB, free: 178.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.579e-05/9.405, allocations: 16.5 kB / 3.68 GB, free: 178.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0005776/9.406, allocations: 350.2 kB / 3.68 GB, free: 178.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004316/9.41, allocations: 0.7281 MB / 3.681 GB, free: 178.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 1 (hum.outCon.Xi) * Number of discrete variables: 3 ($whenCondition1,XSet.nextTimeEvent,XSet.nextTimeEventScaled) * Number of discrete states: 2 (XSet.nextTimeEvent,XSet.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.003134/9.413, allocations: 1.779 MB / 3.683 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001301/9.415, allocations: 484.1 kB / 3.683 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/9.415, allocations: 0 / 3.683 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003063/9.415, allocations: 127.4 kB / 3.683 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001834/9.417, allocations: 197.2 kB / 3.684 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006488/9.423, allocations: 1.585 MB / 3.685 GB, free: 178 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007977/9.424, allocations: 0.9655 MB / 3.686 GB, free: 177.3 MB / 0.8698 GB Notification: Performance of SimCode: time 1.132e-06/9.424, allocations: 3.625 kB / 3.686 GB, free: 177.3 MB / 0.8698 GB