Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.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_dynamic,fileNamePrefix="IDEAS_IDEAS_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic,fileNamePrefix="IDEAS_IDEAS_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/Complex 4.0.0+maint.om/package.mo): time 0.004301/0.004301, allocations: 175.7 kB / 7.451 MB, free: 2.316 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7309/0.7309, allocations: 133.5 MB / 141.4 MB, free: 15.73 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.579/1.579, allocations: 221.3 MB / 395 MB, free: 10.21 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.001122/0.001122, allocations: 95.53 kB / 477.8 MB, free: 10.85 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5623/0.5635, allocations: 88.42 MB / 0.5529 GB, free: 89.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.203/0.7665, allocations: 82.3 MB / 0.6333 GB, free: 14.07 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.734/5.501, allocations: 1.85 GB / 2.484 GB, free: 117.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002253/5.501, allocations: 83.95 kB / 2.484 GB, free: 117.2 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.973/7.474, allocations: 0.6062 GB / 3.09 GB, free: 32.67 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/7.474, allocations: 8 kB / 3.09 GB, free: 32.66 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001329/7.475, allocations: 230.9 kB / 3.09 GB, free: 32.44 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002384/7.478, allocations: 0.8816 MB / 3.091 GB, free: 31.51 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.568e-05/7.478, allocations: 20 kB / 3.091 GB, free: 31.49 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.992e-05/7.478, allocations: 24 kB / 3.091 GB, free: 31.47 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000577/7.478, allocations: 333.5 kB / 3.091 GB, free: 31.14 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005994/7.479, allocations: 455.8 kB / 3.092 GB, free: 30.68 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/7.479, allocations: 3.938 kB / 3.092 GB, free: 30.67 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.988e-05/7.479, allocations: 3.906 kB / 3.092 GB, free: 30.67 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.25e-05/7.479, allocations: 12.78 kB / 3.092 GB, free: 30.66 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002535/7.482, allocations: 2.257 MB / 3.094 GB, free: 28.21 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000305/7.482, allocations: 249.8 kB / 3.094 GB, free: 27.96 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001541/7.482, allocations: 128.8 kB / 3.094 GB, free: 27.83 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009072/7.483, allocations: 0.826 MB / 3.095 GB, free: 26.84 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002181/7.483, allocations: 191.7 kB / 3.095 GB, free: 26.62 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=27): time 2.614e-06/7.483, allocations: 0 / 3.095 GB, free: 26.62 MB / 0.6823 GB Notification: Performance of matching and sorting (n=27): time 0.001122/7.484, allocations: 423.2 kB / 3.096 GB, free: 26.21 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/7.484, allocations: 107 kB / 3.096 GB, free: 26.08 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005024/7.485, allocations: 454.2 kB / 3.096 GB, free: 25.63 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.681e-05/7.485, allocations: 25.7 kB / 3.096 GB, free: 25.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001713/7.485, allocations: 251.6 kB / 3.096 GB, free: 25.35 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.699e-05/7.485, allocations: 90.75 kB / 3.097 GB, free: 25.26 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.905e-05/7.485, allocations: 0 / 3.097 GB, free: 25.26 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001223/7.485, allocations: 366.8 kB / 3.097 GB, free: 24.89 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/7.486, allocations: 104.8 kB / 3.097 GB, free: 24.79 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002682/7.486, allocations: 300.9 kB / 3.097 GB, free: 24.41 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004823/7.486, allocations: 229.3 kB / 3.098 GB, free: 24.19 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/7.486, allocations: 7.906 kB / 3.098 GB, free: 24.18 MB / 0.6823 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008501/7.487, allocations: 498.2 kB / 3.098 GB, free: 23.69 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004449/7.488, allocations: 1.821 MB / 3.1 GB, free: 21.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/7.488, allocations: 4 kB / 3.1 GB, free: 21.72 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.616e-05/7.488, allocations: 8 kB / 3.1 GB, free: 21.71 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003727/7.488, allocations: 91.83 kB / 3.1 GB, free: 21.62 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.422e-05/7.488, allocations: 19.84 kB / 3.1 GB, free: 21.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004462/7.489, allocations: 43.61 kB / 3.1 GB, free: 21.56 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-05/7.489, allocations: 23.98 kB / 3.1 GB, free: 21.54 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.943e-06/7.489, allocations: 4 kB / 3.1 GB, free: 21.54 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007178/7.489, allocations: 409.3 kB / 3.1 GB, free: 21.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/7.489, allocations: 4 kB / 3.1 GB, free: 21.13 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.923e-06/7.489, allocations: 8 kB / 3.1 GB, free: 21.12 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003212/7.49, allocations: 83.89 kB / 3.1 GB, free: 21.04 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/7.49, allocations: 15.84 kB / 3.1 GB, free: 21.03 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003253/7.49, allocations: 36.23 kB / 3.101 GB, free: 20.99 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.654e-05/7.49, allocations: 24 kB / 3.101 GB, free: 20.97 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 (49): * Single equations (assignments): 49 * 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.000145/7.49, allocations: 123.9 kB / 3.101 GB, free: 20.84 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.651e-05/7.49, allocations: 55.34 kB / 3.101 GB, free: 20.79 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008233/7.491, allocations: 379.6 kB / 3.101 GB, free: 20.41 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.146e-06/7.491, allocations: 8 kB / 3.101 GB, free: 20.41 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/7.491, allocations: 4 kB / 3.101 GB, free: 20.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.325e-06/7.491, allocations: 0 / 3.101 GB, free: 20.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001538/7.493, allocations: 1.176 MB / 3.102 GB, free: 19.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/7.493, allocations: 0 / 3.102 GB, free: 19.15 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002582/7.493, allocations: 47.91 kB / 3.102 GB, free: 19.11 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/7.493, allocations: 4 kB / 3.102 GB, free: 19.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.554e-05/7.493, allocations: 4 kB / 3.102 GB, free: 19.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/7.493, allocations: 7.984 kB / 3.102 GB, free: 19.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/7.493, allocations: 4 kB / 3.102 GB, free: 19.09 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008867/7.494, allocations: 0.7837 MB / 3.103 GB, free: 18.21 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001306/7.495, allocations: 1.386 MB / 3.104 GB, free: 16.72 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001912/7.495, allocations: 172.2 kB / 3.105 GB, free: 16.53 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.472e-05/7.496, allocations: 4 kB / 3.105 GB, free: 16.53 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002793/7.496, allocations: 16.05 kB / 3.105 GB, free: 16.51 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.168e-05/7.496, allocations: 15.98 kB / 3.105 GB, free: 16.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.5e-05/7.496, allocations: 11.98 kB / 3.105 GB, free: 16.48 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.000329/7.496, allocations: 350.8 kB / 3.105 GB, free: 16.14 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002965/7.499, allocations: 0.7258 MB / 3.106 GB, free: 15.42 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (hum.outCon.T,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 (28): * Single equations (assignments): 26 * 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.002225/7.502, allocations: 1.796 MB / 3.107 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0008655/7.502, allocations: 496.2 kB / 3.108 GB, free: 13.17 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/7.502, allocations: 320 / 3.108 GB, free: 13.17 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001687/7.503, allocations: 135.8 kB / 3.108 GB, free: 13.04 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/7.504, allocations: 185 kB / 3.108 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004327/7.508, allocations: 1.635 MB / 3.11 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004535/7.509, allocations: 0.9731 MB / 3.111 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of SimCode: time 9.42e-07/7.509, allocations: 4 kB / 3.111 GB, free: 10.17 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; mkfifo IDEAS_IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe >> ../files/IDEAS_IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic.fmu > IDEAS_IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe 2>&1)