Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.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,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X",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.137 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.001627/0.001627, allocations: 192.3 kB / 315.1 MB, free: 4.25 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.024/2.024, allocations: 205.1 MB / 0.5658 GB, free: 368 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.001984/0.001984, allocations: 100.7 kB / 0.67 GB, free: 5.574 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5133/0.5154, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.7294, allocations: 106.2 MB / 0.8835 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.807/6.536, allocations: 2.201 GB / 3.084 GB, free: 164.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003044/6.537, allocations: 83.39 kB / 3.084 GB, free: 164.4 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.729/9.265, allocations: 0.581 GB / 3.665 GB, free: 187.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/9.265, allocations: 9.438 kB / 3.665 GB, free: 187.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002384/9.268, allocations: 238 kB / 3.665 GB, free: 187.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003884/9.272, allocations: 0.8797 MB / 3.666 GB, free: 187.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.008e-05/9.272, allocations: 11.72 kB / 3.666 GB, free: 187.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/9.272, allocations: 23.41 kB / 3.666 GB, free: 187.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001114/9.273, allocations: 372.8 kB / 3.667 GB, free: 187.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001092/9.274, allocations: 439.1 kB / 3.667 GB, free: 187.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.863e-05/9.274, allocations: 0 / 3.667 GB, free: 187.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.303e-05/9.274, allocations: 0 / 3.667 GB, free: 187.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.344e-05/9.274, allocations: 23.36 kB / 3.667 GB, free: 187.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004522/9.279, allocations: 2.234 MB / 3.669 GB, free: 185.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005537/9.28, allocations: 233.4 kB / 3.669 GB, free: 185.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002814/9.28, allocations: 118 kB / 3.67 GB, free: 185.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001594/9.281, allocations: 0.8299 MB / 3.67 GB, free: 184.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003993/9.282, allocations: 182.4 kB / 3.671 GB, free: 184.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=25): time 3.196e-06/9.282, allocations: 0 / 3.671 GB, free: 184.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=25): time 0.00192/9.284, allocations: 399.7 kB / 3.671 GB, free: 184.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.25e-05/9.284, allocations: 110.5 kB / 3.671 GB, free: 184.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008455/9.285, allocations: 454.3 kB / 3.672 GB, free: 184.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.345e-05/9.285, allocations: 33.48 kB / 3.672 GB, free: 184.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001982/9.285, allocations: 258.9 kB / 3.672 GB, free: 184.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 9.76e-05/9.285, allocations: 81.22 kB / 3.672 GB, free: 184.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.731e-05/9.285, allocations: 0 / 3.672 GB, free: 184.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001139/9.285, allocations: 363.4 kB / 3.672 GB, free: 184 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002725/9.286, allocations: 102.1 kB / 3.672 GB, free: 184 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003873/9.286, allocations: 290.4 kB / 3.673 GB, free: 183.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008935/9.287, allocations: 217.8 kB / 3.673 GB, free: 183.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.261e-06/9.287, allocations: 0 / 3.673 GB, free: 183.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001492/9.289, allocations: 478.1 kB / 3.673 GB, free: 183.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000419/9.289, allocations: 1.826 MB / 3.675 GB, free: 181.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/9.289, allocations: 7.469 kB / 3.675 GB, free: 181.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.012e-05/9.289, allocations: 7.094 kB / 3.675 GB, free: 181.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006859/9.29, allocations: 83.12 kB / 3.675 GB, free: 181.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.471e-05/9.29, allocations: 6.562 kB / 3.675 GB, free: 181.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008237/9.291, allocations: 52.84 kB / 3.675 GB, free: 181.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.438e-05/9.291, allocations: 20.03 kB / 3.675 GB, free: 181.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/9.291, allocations: 3.844 kB / 3.675 GB, free: 181.8 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001292/9.292, allocations: 389.2 kB / 3.676 GB, free: 181.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/9.292, allocations: 3.594 kB / 3.676 GB, free: 181.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/9.292, allocations: 7.469 kB / 3.676 GB, free: 181.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005985/9.293, allocations: 81.42 kB / 3.676 GB, free: 181.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/9.293, allocations: 10.31 kB / 3.676 GB, free: 181.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006917/9.293, allocations: 39.91 kB / 3.676 GB, free: 181.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.027e-05/9.293, allocations: 21.95 kB / 3.676 GB, free: 181.8 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 (45): * Single equations (assignments): 45 * 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.000173/9.294, allocations: 117.9 kB / 3.676 GB, free: 181.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/9.294, allocations: 59.59 kB / 3.676 GB, free: 181.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001349/9.295, allocations: 365.9 kB / 3.676 GB, free: 181.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/9.295, allocations: 0 / 3.676 GB, free: 181.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/9.295, allocations: 7.344 kB / 3.676 GB, free: 181.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/9.295, allocations: 0 / 3.676 GB, free: 181.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002568/9.298, allocations: 1.15 MB / 3.677 GB, free: 181.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/9.298, allocations: 9.453 kB / 3.677 GB, free: 181.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004195/9.298, allocations: 42.59 kB / 3.677 GB, free: 181.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.15e-05/9.298, allocations: 7.844 kB / 3.677 GB, free: 181.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.764e-05/9.298, allocations: 9.203 kB / 3.677 GB, free: 181.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.763e-06/9.298, allocations: 3.5 kB / 3.677 GB, free: 181.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/9.298, allocations: 3.969 kB / 3.677 GB, free: 181.1 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001321/9.3, allocations: 0.629 MB / 3.678 GB, free: 180.7 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001608/9.301, allocations: 1.068 MB / 3.679 GB, free: 179.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003538/9.302, allocations: 164.1 kB / 3.679 GB, free: 179.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/9.302, allocations: 5.531 kB / 3.679 GB, free: 179.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005106/9.302, allocations: 19.11 kB / 3.679 GB, free: 179.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.489e-05/9.303, allocations: 22.06 kB / 3.679 GB, free: 179.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-05/9.303, allocations: 15.47 kB / 3.679 GB, free: 179.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0006197/9.303, allocations: 348.8 kB / 3.68 GB, free: 179.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004536/9.308, allocations: 0.7252 MB / 3.68 GB, free: 179.7 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * 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 (26): * Single equations (assignments): 24 * 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.003268/9.311, allocations: 1.778 MB / 3.682 GB, free: 179.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001314/9.312, allocations: 465.8 kB / 3.683 GB, free: 179.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/9.312, allocations: 3.609 kB / 3.683 GB, free: 179.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003087/9.313, allocations: 123.5 kB / 3.683 GB, free: 179.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001848/9.315, allocations: 202.8 kB / 3.683 GB, free: 179.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00641/9.321, allocations: 1.525 MB / 3.684 GB, free: 178.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007188/9.322, allocations: 0.966 MB / 3.685 GB, free: 178.2 MB / 0.8698 GB Notification: Performance of SimCode: time 1.533e-06/9.322, allocations: 0 / 3.685 GB, free: 178.2 MB / 0.8698 GB