Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_Humidifiers_Validation_SteamHumidifier_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X,fileNamePrefix="IDEAS_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.004342/0.004342, allocations: 179 kB / 7.454 MB, free: 2.246 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7205/0.7205, allocations: 133.5 MB / 141.4 MB, free: 15.71 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.626/1.626, allocations: 221.3 MB / 395 MB, free: 10.17 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.001033/0.001032, allocations: 96.78 kB / 477.8 MB, free: 10.81 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5125/0.5136, allocations: 88.43 MB / 0.5529 GB, free: 89.12 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2114/0.725, allocations: 82.29 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.597/5.322, allocations: 1.85 GB / 2.483 GB, free: 97.48 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002761/5.323, allocations: 87.95 kB / 2.484 GB, free: 97.4 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.828/7.15, allocations: 0.6061 GB / 3.09 GB, free: 14.54 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/7.15, allocations: 12 kB / 3.09 GB, free: 14.53 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001654/7.152, allocations: 234.9 kB / 3.09 GB, free: 14.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002947/7.155, allocations: 0.882 MB / 3.091 GB, free: 13.38 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.534e-05/7.155, allocations: 12 kB / 3.091 GB, free: 13.36 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/7.155, allocations: 27.98 kB / 3.091 GB, free: 13.34 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007105/7.156, allocations: 345.5 kB / 3.091 GB, free: 13 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000741/7.157, allocations: 447 kB / 3.092 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.051e-05/7.157, allocations: 3.938 kB / 3.092 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.335e-05/7.157, allocations: 0 / 3.092 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.336e-05/7.157, allocations: 20.67 kB / 3.092 GB, free: 12.52 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003317/7.16, allocations: 2.246 MB / 3.094 GB, free: 10.08 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003301/7.16, allocations: 226.6 kB / 3.094 GB, free: 9.852 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001502/7.16, allocations: 121.8 kB / 3.094 GB, free: 9.73 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009875/7.161, allocations: 0.8221 MB / 3.095 GB, free: 8.742 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002157/7.162, allocations: 189.8 kB / 3.095 GB, free: 8.535 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=25): time 1.893e-06/7.162, allocations: 4 kB / 3.095 GB, free: 8.531 MB / 0.6823 GB Notification: Performance of matching and sorting (n=25): time 0.001233/7.163, allocations: 404.6 kB / 3.095 GB, free: 8.129 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/7.163, allocations: 110.7 kB / 3.096 GB, free: 7.996 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005643/7.164, allocations: 442.3 kB / 3.096 GB, free: 7.555 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.211e-05/7.164, allocations: 33.69 kB / 3.096 GB, free: 7.516 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001797/7.164, allocations: 259.5 kB / 3.096 GB, free: 7.258 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.949e-05/7.164, allocations: 78.91 kB / 3.096 GB, free: 7.18 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.718e-05/7.164, allocations: 32 / 3.096 GB, free: 7.18 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001104/7.164, allocations: 366.7 kB / 3.097 GB, free: 6.812 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/7.164, allocations: 96.72 kB / 3.097 GB, free: 6.715 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002138/7.164, allocations: 288.6 kB / 3.097 GB, free: 6.348 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005077/7.165, allocations: 211.8 kB / 3.097 GB, free: 6.141 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/7.165, allocations: 4 kB / 3.097 GB, free: 6.137 MB / 0.6823 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008513/7.166, allocations: 469.1 kB / 3.098 GB, free: 5.672 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003893/7.166, allocations: 1.829 MB / 3.099 GB, free: 3.699 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/7.166, allocations: 8 kB / 3.099 GB, free: 3.691 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/7.166, allocations: 11.91 kB / 3.099 GB, free: 3.68 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003353/7.167, allocations: 83.83 kB / 3.1 GB, free: 3.598 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/7.167, allocations: 11.98 kB / 3.1 GB, free: 3.586 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004507/7.167, allocations: 43.61 kB / 3.1 GB, free: 3.543 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.244e-05/7.167, allocations: 27.98 kB / 3.1 GB, free: 3.516 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.917e-06/7.167, allocations: 4 kB / 3.1 GB, free: 3.512 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007234/7.168, allocations: 386.8 kB / 3.1 GB, free: 3.137 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/7.168, allocations: 4 kB / 3.1 GB, free: 3.133 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.546e-06/7.168, allocations: 8 kB / 3.1 GB, free: 3.125 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003089/7.168, allocations: 80.41 kB / 3.1 GB, free: 3.047 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/7.168, allocations: 15.98 kB / 3.1 GB, free: 3.031 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003983/7.169, allocations: 35.67 kB / 3.1 GB, free: 2.996 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.872e-05/7.169, allocations: 20 kB / 3.1 GB, free: 2.977 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.0001255/7.169, allocations: 128.7 kB / 3.1 GB, free: 2.844 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/7.169, allocations: 55.33 kB / 3.1 GB, free: 2.789 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00076/7.17, allocations: 361.1 kB / 3.101 GB, free: 2.426 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/7.17, allocations: 4 kB / 3.101 GB, free: 2.422 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/7.17, allocations: 4 kB / 3.101 GB, free: 2.418 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.094e-06/7.17, allocations: 3.984 kB / 3.101 GB, free: 2.414 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001593/7.171, allocations: 1.148 MB / 3.102 GB, free: 1.195 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/7.171, allocations: 4 kB / 3.102 GB, free: 1.191 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002133/7.172, allocations: 43.91 kB / 3.102 GB, free: 1.148 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.184e-06/7.172, allocations: 4 kB / 3.102 GB, free: 1.145 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.455e-05/7.172, allocations: 7.984 kB / 3.102 GB, free: 1.137 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.92e-06/7.172, allocations: 7.906 kB / 3.102 GB, free: 1.129 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/7.172, allocations: 4.281 kB / 3.102 GB, free: 1.125 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007152/7.172, allocations: 0.6217 MB / 3.103 GB, free: 416 kB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.3188/7.491, allocations: 1.08 MB / 3.104 GB, free: 206.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003055/7.492, allocations: 169.6 kB / 3.104 GB, free: 206.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.429e-05/7.492, allocations: 7.156 kB / 3.104 GB, free: 206.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003394/7.492, allocations: 11.03 kB / 3.104 GB, free: 206.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.122e-05/7.492, allocations: 16.14 kB / 3.104 GB, free: 206.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.071e-05/7.492, allocations: 13.62 kB / 3.104 GB, free: 206.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0004984/7.493, allocations: 351.1 kB / 3.104 GB, free: 206.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003182/7.496, allocations: 0.7223 MB / 3.105 GB, free: 206.4 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.002417/7.498, allocations: 1.774 MB / 3.107 GB, free: 206.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007655/7.499, allocations: 458.1 kB / 3.107 GB, free: 206.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/7.499, allocations: 0 / 3.107 GB, free: 206.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001584/7.499, allocations: 127.7 kB / 3.107 GB, free: 206.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009709/7.5, allocations: 189.5 kB / 3.107 GB, free: 206.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003855/7.504, allocations: 1.533 MB / 3.109 GB, free: 205.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004306/7.505, allocations: 0.966 MB / 3.11 GB, free: 205.1 MB / 0.6823 GB Notification: Performance of SimCode: time 7.21e-07/7.505, allocations: 3.25 kB / 3.11 GB, free: 205.1 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe ; mkfifo IDEAS_IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe >> ../files/IDEAS_IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Humidifiers_Validation_SteamHumidifier_X_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Humidifiers_Validation_SteamHumidifier_X.fmu > IDEAS_IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe 2>&1)