Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Humidifiers_Validation_SteamHumidifier_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X,fileNamePrefix="IDEAS_dev_IDEAS_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/Complex 4.0.0+maint.om/package.mo): time 0.002779/0.002779, allocations: 176.1 kB / 7.459 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6928/0.6928, allocations: 133.5 MB / 141.4 MB, free: 15.66 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.527/1.527, allocations: 221.3 MB / 395 MB, free: 10.18 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 102 kB / 477.8 MB, free: 10.81 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4922/0.4934, allocations: 88.43 MB / 0.5529 GB, free: 89.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1937/0.6871, allocations: 82.29 MB / 0.6333 GB, free: 13.98 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.165/4.852, allocations: 1.85 GB / 2.483 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002509/4.852, allocations: 87.95 kB / 2.484 GB, free: 113 MB / 0.6823 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 1.944/6.796, allocations: 0.606 GB / 3.09 GB, free: 28.19 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/6.796, allocations: 8 kB / 3.09 GB, free: 28.18 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00148/6.797, allocations: 234.9 kB / 3.09 GB, free: 27.95 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002564/6.8, allocations: 0.8776 MB / 3.091 GB, free: 27.03 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.752e-05/6.8, allocations: 12 kB / 3.091 GB, free: 27.02 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.612e-05/6.8, allocations: 27.98 kB / 3.091 GB, free: 26.99 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006165/6.801, allocations: 349.4 kB / 3.091 GB, free: 26.65 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006372/6.801, allocations: 443 kB / 3.092 GB, free: 26.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/6.801, allocations: 4 kB / 3.092 GB, free: 26.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.228e-05/6.802, allocations: 0 / 3.092 GB, free: 26.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.359e-05/6.802, allocations: 24.67 kB / 3.092 GB, free: 26.17 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00293/6.804, allocations: 2.243 MB / 3.094 GB, free: 23.73 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002983/6.805, allocations: 230.6 kB / 3.094 GB, free: 23.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001535/6.805, allocations: 120.8 kB / 3.094 GB, free: 23.38 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000967/6.806, allocations: 0.8299 MB / 3.095 GB, free: 22.38 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002071/6.806, allocations: 173.9 kB / 3.095 GB, free: 22.19 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=25): time 1.883e-06/6.806, allocations: 0 / 3.095 GB, free: 22.19 MB / 0.6823 GB Notification: Performance of matching and sorting (n=25): time 0.001176/6.807, allocations: 415.7 kB / 3.095 GB, free: 21.78 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/6.807, allocations: 110.8 kB / 3.096 GB, free: 21.64 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004912/6.808, allocations: 450.3 kB / 3.096 GB, free: 21.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.034e-05/6.808, allocations: 29.7 kB / 3.096 GB, free: 21.16 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/6.808, allocations: 251.6 kB / 3.096 GB, free: 20.91 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.7e-05/6.808, allocations: 82.84 kB / 3.096 GB, free: 20.83 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.714e-05/6.808, allocations: 0 / 3.096 GB, free: 20.83 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.076e-05/6.808, allocations: 370.7 kB / 3.097 GB, free: 20.46 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/6.808, allocations: 104.7 kB / 3.097 GB, free: 20.36 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002108/6.809, allocations: 276.7 kB / 3.097 GB, free: 20 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004791/6.809, allocations: 220.3 kB / 3.097 GB, free: 19.79 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/6.809, allocations: 0 / 3.097 GB, free: 19.79 MB / 0.6823 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008486/6.81, allocations: 468.4 kB / 3.098 GB, free: 19.32 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003259/6.81, allocations: 1.838 MB / 3.099 GB, free: 17.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/6.81, allocations: 4 kB / 3.099 GB, free: 17.34 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/6.81, allocations: 11.91 kB / 3.1 GB, free: 17.32 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003365/6.811, allocations: 75.91 kB / 3.1 GB, free: 17.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/6.811, allocations: 15.92 kB / 3.1 GB, free: 17.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004606/6.811, allocations: 39.67 kB / 3.1 GB, free: 17.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.469e-05/6.811, allocations: 20 kB / 3.1 GB, free: 17.18 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/6.811, allocations: 6.969 kB / 3.1 GB, free: 17.17 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007256/6.812, allocations: 399 kB / 3.1 GB, free: 16.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/6.812, allocations: 4 kB / 3.1 GB, free: 16.78 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.185e-06/6.812, allocations: 8 kB / 3.1 GB, free: 16.77 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003131/6.812, allocations: 79.89 kB / 3.1 GB, free: 16.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/6.812, allocations: 8.5 kB / 3.1 GB, free: 16.69 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004291/6.813, allocations: 39.67 kB / 3.1 GB, free: 16.65 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.553e-05/6.813, allocations: 24 kB / 3.1 GB, free: 16.62 MB / 0.6823 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.000138/6.813, allocations: 124.8 kB / 3.1 GB, free: 16.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/6.813, allocations: 51.34 kB / 3.1 GB, free: 16.45 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009157/6.814, allocations: 365 kB / 3.101 GB, free: 16.08 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/6.814, allocations: 4 kB / 3.101 GB, free: 16.08 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/6.814, allocations: 0 / 3.101 GB, free: 16.08 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/6.814, allocations: 4 kB / 3.101 GB, free: 16.07 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001826/6.816, allocations: 1.157 MB / 3.102 GB, free: 14.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/6.816, allocations: 96 / 3.102 GB, free: 14.84 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000215/6.816, allocations: 43.92 kB / 3.102 GB, free: 14.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/6.816, allocations: 7.938 kB / 3.102 GB, free: 14.79 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.677e-05/6.816, allocations: 7.984 kB / 3.102 GB, free: 14.79 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.561e-06/6.816, allocations: 7.906 kB / 3.102 GB, free: 14.78 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/6.816, allocations: 0 / 3.102 GB, free: 14.78 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008427/6.817, allocations: 0.6224 MB / 3.103 GB, free: 14.06 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001153/6.818, allocations: 1.08 MB / 3.104 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002528/6.819, allocations: 168.2 kB / 3.104 GB, free: 12.69 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/6.819, allocations: 4 kB / 3.104 GB, free: 12.69 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003006/6.819, allocations: 15.98 kB / 3.104 GB, free: 12.67 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.192e-05/6.819, allocations: 19.89 kB / 3.104 GB, free: 12.65 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.373e-05/6.819, allocations: 11.98 kB / 3.104 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0004024/6.819, allocations: 346.9 kB / 3.104 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003584/6.823, allocations: 0.7258 MB / 3.105 GB, free: 11.58 MB / 0.6823 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.002934/6.826, allocations: 1.772 MB / 3.107 GB, free: 9.84 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007695/6.827, allocations: 460.5 kB / 3.107 GB, free: 9.391 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/6.827, allocations: 4.125 kB / 3.107 GB, free: 9.387 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001728/6.827, allocations: 123.8 kB / 3.107 GB, free: 9.266 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/6.828, allocations: 182.3 kB / 3.107 GB, free: 9.09 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004374/6.832, allocations: 1.537 MB / 3.109 GB, free: 7.492 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000597/6.833, allocations: 0.9724 MB / 3.11 GB, free: 6.496 MB / 0.6823 GB Notification: Performance of SimCode: time 9.92e-07/6.833, allocations: 0 / 3.11 GB, free: 6.496 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Humidifiers_Validation_SteamHumidifier_X_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Humidifiers_Validation_SteamHumidifier_X.fmu > IDEAS_dev_IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe 2>&1)