Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_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.SprayAirWasher_X_dynamic,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Humidifiers_Validation_SprayAirWasher_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.398/2.398, allocations: 248.6 MB / 255.9 MB, free: 7.148 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.001775/0.001774, allocations: 192 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.978/1.978, allocations: 205.1 MB / 0.5658 GB, free: 376 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.001279/0.001278, allocations: 97.02 kB / 0.67 GB, free: 5.582 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5152/0.5166, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.7349, allocations: 106.2 MB / 0.8835 GB, free: 13.37 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.699/6.434, allocations: 2.199 GB / 3.083 GB, free: 165.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003641/6.434, allocations: 82.27 kB / 3.083 GB, free: 165.6 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: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 4.753/11.19, allocations: 0.9351 GB / 4.018 GB, free: 164.9 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 9.95e-05/11.19, allocations: 7.812 kB / 4.018 GB, free: 164.9 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003703/11.19, allocations: 235.1 kB / 4.018 GB, free: 164.9 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005979/11.2, allocations: 0.8808 MB / 4.019 GB, free: 164.6 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.109e-05/11.2, allocations: 19.16 kB / 4.019 GB, free: 164.6 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000196/11.2, allocations: 28.31 kB / 4.019 GB, free: 164.6 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001761/11.2, allocations: 365.5 kB / 4.019 GB, free: 164.6 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001656/11.2, allocations: 439.5 kB / 4.02 GB, free: 164.6 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.011e-05/11.2, allocations: 0 / 4.02 GB, free: 164.6 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.81e-05/11.2, allocations: 6.969 kB / 4.02 GB, free: 164.6 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.434e-05/11.2, allocations: 21.62 kB / 4.02 GB, free: 164.6 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006942/11.21, allocations: 2.253 MB / 4.022 GB, free: 163.2 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008007/11.21, allocations: 230.3 kB / 4.022 GB, free: 163.2 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004246/11.21, allocations: 130.6 kB / 4.022 GB, free: 163.2 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002375/11.21, allocations: 0.8247 MB / 4.023 GB, free: 162.4 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006098/11.21, allocations: 181.6 kB / 4.023 GB, free: 162.3 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=26): time 5.581e-06/11.21, allocations: 3.125 kB / 4.023 GB, free: 162.3 MB / 0.9011 GB Notification: Performance of matching and sorting (n=26): time 0.002886/11.22, allocations: 407.8 kB / 4.024 GB, free: 162.2 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.469e-05/11.22, allocations: 110.9 kB / 4.024 GB, free: 162.1 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/11.22, allocations: 457 kB / 4.024 GB, free: 162 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001013/11.22, allocations: 29.55 kB / 4.024 GB, free: 161.9 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002751/11.22, allocations: 249.8 kB / 4.025 GB, free: 161.8 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001521/11.22, allocations: 90.62 kB / 4.025 GB, free: 161.8 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.337e-05/11.22, allocations: 0 / 4.025 GB, free: 161.8 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001614/11.22, allocations: 372.9 kB / 4.025 GB, free: 161.4 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004184/11.22, allocations: 100.2 kB / 4.025 GB, free: 161.4 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006057/11.22, allocations: 294.1 kB / 4.025 GB, free: 161.2 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0014/11.22, allocations: 232.6 kB / 4.026 GB, free: 161.2 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.167e-05/11.22, allocations: 0 / 4.026 GB, free: 161.2 MB / 0.9011 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.002374/11.22, allocations: 480.3 kB / 4.026 GB, free: 161.2 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005613/11.22, allocations: 1.827 MB / 4.028 GB, free: 159.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.283e-05/11.22, allocations: 2.969 kB / 4.028 GB, free: 159.3 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.983e-05/11.22, allocations: 9.406 kB / 4.028 GB, free: 159.3 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/11.23, allocations: 89.44 kB / 4.028 GB, free: 159.3 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.316e-05/11.23, allocations: 11.25 kB / 4.028 GB, free: 159.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001314/11.23, allocations: 47.33 kB / 4.028 GB, free: 159.2 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001617/11.23, allocations: 27.59 kB / 4.028 GB, free: 159.2 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/11.23, allocations: 3.812 kB / 4.028 GB, free: 159.2 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002138/11.23, allocations: 398.3 kB / 4.028 GB, free: 159.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.818e-05/11.23, allocations: 7.672 kB / 4.028 GB, free: 159.2 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.239e-05/11.23, allocations: 10.91 kB / 4.028 GB, free: 159.2 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001062/11.23, allocations: 84.42 kB / 4.029 GB, free: 159.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.864e-05/11.23, allocations: 11.47 kB / 4.029 GB, free: 159.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/11.23, allocations: 40.2 kB / 4.029 GB, free: 159.2 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00013/11.23, allocations: 18.88 kB / 4.029 GB, free: 159.2 MB / 0.9011 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.0002859/11.23, allocations: 119.6 kB / 4.029 GB, free: 159.1 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002352/11.23, allocations: 61.03 kB / 4.029 GB, free: 159.1 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002104/11.23, allocations: 365.6 kB / 4.029 GB, free: 159 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.66e-05/11.23, allocations: 3.75 kB / 4.029 GB, free: 159 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/11.23, allocations: 3 kB / 4.029 GB, free: 159 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.492e-05/11.23, allocations: 3.609 kB / 4.029 GB, free: 159 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00421/11.24, allocations: 1.163 MB / 4.03 GB, free: 158.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.465e-05/11.24, allocations: 3.812 kB / 4.03 GB, free: 158.5 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007141/11.24, allocations: 52.73 kB / 4.03 GB, free: 158.5 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.598e-05/11.24, allocations: 7.281 kB / 4.03 GB, free: 158.5 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.01e-05/11.24, allocations: 6.969 kB / 4.03 GB, free: 158.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.061e-05/11.24, allocations: 3.812 kB / 4.03 GB, free: 158.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.115e-05/11.24, allocations: 6.812 kB / 4.03 GB, free: 158.5 MB / 0.9011 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002583/11.24, allocations: 0.7665 MB / 4.031 GB, free: 158.2 MB / 0.9011 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00355/11.25, allocations: 1.37 MB / 4.032 GB, free: 157.4 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005412/11.25, allocations: 167.7 kB / 4.033 GB, free: 157.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002023/11.25, allocations: 3.156 kB / 4.033 GB, free: 157.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007987/11.25, allocations: 11.14 kB / 4.033 GB, free: 157.3 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/11.25, allocations: 19.34 kB / 4.033 GB, free: 157.3 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.752e-05/11.25, allocations: 16.94 kB / 4.033 GB, free: 157.3 MB / 0.9011 GB Notification: Performance of sort global known variables: time 0.0009163/11.25, allocations: 352 kB / 4.033 GB, free: 157.2 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.007441/11.26, allocations: 0.7223 MB / 4.034 GB, free: 157.2 MB / 0.9011 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.00495/11.26, allocations: 1.786 MB / 4.035 GB, free: 156.7 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.00187/11.26, allocations: 479 kB / 4.036 GB, free: 156.7 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.307e-05/11.26, allocations: 6.5 kB / 4.036 GB, free: 156.7 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0004751/11.26, allocations: 125 kB / 4.036 GB, free: 156.7 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002799/11.27, allocations: 202.8 kB / 4.036 GB, free: 156.7 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008229/11.27, allocations: 1.587 MB / 4.038 GB, free: 156.4 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007663/11.28, allocations: 0.9697 MB / 4.039 GB, free: 155.7 MB / 0.9011 GB Notification: Performance of SimCode: time 1.644e-06/11.28, allocations: 0 / 4.039 GB, free: 155.7 MB / 0.9011 GB