Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",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.001872/0.001872, allocations: 179.3 kB / 7.461 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.65/0.65, allocations: 133.5 MB / 141.4 MB, free: 15.72 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.369/1.369, 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.001228/0.001228, allocations: 99.33 kB / 477.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5211/0.5223, allocations: 88.42 MB / 0.5529 GB, free: 89.11 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1952/0.7176, allocations: 82.31 MB / 0.6333 GB, free: 14.03 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.325/5.042, allocations: 1.677 GB / 2.31 GB, free: 3.492 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004481/5.043, allocations: 79.89 kB / 2.31 GB, free: 3.418 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.6306/5.673, allocations: 56.07 MB / 2.365 GB, free: 233.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/5.673, allocations: 8 kB / 2.365 GB, free: 233.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006299/5.674, allocations: 59.83 kB / 2.365 GB, free: 233.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002211/5.674, allocations: 190.9 kB / 2.365 GB, free: 233.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/5.674, allocations: 0 / 2.365 GB, free: 233.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.59e-05/5.674, allocations: 8 kB / 2.365 GB, free: 233.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002263/5.675, allocations: 79.92 kB / 2.366 GB, free: 233.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002036/5.675, allocations: 149.8 kB / 2.366 GB, free: 233.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/5.675, allocations: 0 / 2.366 GB, free: 233.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.243e-05/5.675, allocations: 3.906 kB / 2.366 GB, free: 233.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/5.675, allocations: 4 kB / 2.366 GB, free: 233.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/5.676, allocations: 0.7987 MB / 2.366 GB, free: 232.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/5.676, allocations: 102.4 kB / 2.367 GB, free: 232.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.74e-05/5.676, allocations: 52.84 kB / 2.367 GB, free: 232.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.862e-05/5.676, allocations: 3.984 kB / 2.367 GB, free: 232.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/5.676, allocations: 38.56 kB / 2.367 GB, free: 232.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/5.676, allocations: 0 / 2.367 GB, free: 232.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.0008645/5.677, allocations: 194.5 kB / 2.367 GB, free: 232 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.259e-05/5.677, allocations: 51.41 kB / 2.367 GB, free: 231.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.337e-05/5.677, allocations: 114 kB / 2.367 GB, free: 231.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/5.677, allocations: 25.7 kB / 2.367 GB, free: 231.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.345e-05/5.677, allocations: 111.9 kB / 2.367 GB, free: 231.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.426e-05/5.677, allocations: 31.55 kB / 2.367 GB, free: 231.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.276e-05/5.677, allocations: 0 / 2.367 GB, free: 231.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.769e-05/5.678, allocations: 322.8 kB / 2.367 GB, free: 231.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.143e-05/5.678, allocations: 35.98 kB / 2.368 GB, free: 231.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.933e-05/5.678, allocations: 85.94 kB / 2.368 GB, free: 231.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.697e-05/5.678, allocations: 48 kB / 2.368 GB, free: 231.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/5.678, allocations: 0 / 2.368 GB, free: 231.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0007088/5.679, allocations: 210.3 kB / 2.368 GB, free: 230.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/5.679, allocations: 4 kB / 2.368 GB, free: 230.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/5.679, allocations: 7.984 kB / 2.368 GB, free: 230.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006345/5.679, allocations: 84.84 kB / 2.368 GB, free: 230.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002562/5.679, allocations: 47.86 kB / 2.368 GB, free: 230.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001739/5.681, allocations: 1.488 MB / 2.369 GB, free: 229.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002345/5.681, allocations: 32.02 kB / 2.369 GB, free: 229.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.874e-05/5.682, allocations: 4 kB / 2.369 GB, free: 229.1 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 9.27e-05/5.682, allocations: 108.9 kB / 2.37 GB, free: 229 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.915e-05/5.682, allocations: 7.906 kB / 2.37 GB, free: 229 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007415/5.682, allocations: 251.4 kB / 2.37 GB, free: 228.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/5.682, allocations: 7.938 kB / 2.37 GB, free: 228.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/5.682, allocations: 0 / 2.37 GB, free: 228.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/5.682, allocations: 0 / 2.37 GB, free: 228.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002015/5.683, allocations: 214 kB / 2.37 GB, free: 228.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/5.683, allocations: 0 / 2.37 GB, free: 228.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002213/5.683, allocations: 39.97 kB / 2.37 GB, free: 228.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005014/5.683, allocations: 84.77 kB / 2.37 GB, free: 228.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.016e-05/5.683, allocations: 4 kB / 2.37 GB, free: 228.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00163/5.685, allocations: 1.515 MB / 2.372 GB, free: 226.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/5.685, allocations: 4.031 kB / 2.372 GB, free: 226.7 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007554/5.686, allocations: 318.8 kB / 2.372 GB, free: 226.4 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009352/5.687, allocations: 0.6957 MB / 2.373 GB, free: 225.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.659e-05/5.687, allocations: 85.02 kB / 2.373 GB, free: 225.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.826e-05/5.687, allocations: 0 / 2.373 GB, free: 225.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002425/5.687, allocations: 27.97 kB / 2.373 GB, free: 225.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.641e-05/5.687, allocations: 7.984 kB / 2.373 GB, free: 225.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/5.687, allocations: 0 / 2.373 GB, free: 225.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.26e-05/5.687, allocations: 106.1 kB / 2.373 GB, free: 225.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001179/5.689, allocations: 131.9 kB / 2.373 GB, free: 225.3 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001198/5.69, allocations: 0.6972 MB / 2.374 GB, free: 224.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006441/5.69, allocations: 241.8 kB / 2.374 GB, free: 224.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/5.69, allocations: 0 / 2.374 GB, free: 224.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003311/5.691, allocations: 193.7 kB / 2.374 GB, free: 224.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/5.691, allocations: 15.98 kB / 2.374 GB, free: 224.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009281/5.692, allocations: 223.6 kB / 2.374 GB, free: 223.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004552/5.692, allocations: 0.7384 MB / 2.375 GB, free: 223.1 MB / 0.6823 GB Notification: Performance of SimCode: time 6.41e-07/5.692, allocations: 0 / 2.375 GB, free: 223.1 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)