Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="IDEAS_dev_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.003865/0.003865, allocations: 182.6 kB / 7.461 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7855/0.7855, 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.662/1.662, 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.001154/0.001155, allocations: 93.83 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4898/0.491, allocations: 88.43 MB / 0.5529 GB, free: 89.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.6997, allocations: 82.3 MB / 0.6333 GB, free: 14.03 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.483/4.182, allocations: 1.677 GB / 2.31 GB, free: 3.062 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003428/4.183, allocations: 83.95 kB / 2.31 GB, free: 2.98 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.4244/4.607, allocations: 56.07 MB / 2.365 GB, free: 233.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/4.607, allocations: 8 kB / 2.365 GB, free: 233.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005983/4.608, allocations: 59.83 kB / 2.365 GB, free: 233.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001955/4.608, allocations: 199.4 kB / 2.365 GB, free: 233.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/4.608, allocations: 0 / 2.365 GB, free: 233.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.454e-05/4.608, allocations: 8 kB / 2.365 GB, free: 233.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002044/4.608, allocations: 83.86 kB / 2.366 GB, free: 233.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/4.609, allocations: 141.9 kB / 2.366 GB, free: 232.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/4.609, allocations: 4 kB / 2.366 GB, free: 232.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.156e-05/4.609, allocations: 3.906 kB / 2.366 GB, free: 232.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/4.609, allocations: 4 kB / 2.366 GB, free: 232.9 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009739/4.61, allocations: 0.7987 MB / 2.366 GB, free: 232 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001523/4.61, allocations: 98.39 kB / 2.367 GB, free: 231.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.209e-05/4.61, allocations: 48.84 kB / 2.367 GB, free: 231.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/4.61, allocations: 160 / 2.367 GB, free: 231.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.679e-05/4.61, allocations: 42.55 kB / 2.367 GB, free: 231.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 9.52e-07/4.61, allocations: 0 / 2.367 GB, free: 231.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.000822/4.611, allocations: 186.3 kB / 2.367 GB, free: 231.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.802e-05/4.611, allocations: 59.41 kB / 2.367 GB, free: 231.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.598e-05/4.611, allocations: 115.7 kB / 2.367 GB, free: 231.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/4.611, allocations: 29.64 kB / 2.367 GB, free: 231.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.742e-05/4.611, allocations: 107.9 kB / 2.367 GB, free: 231.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.153e-05/4.611, allocations: 27.56 kB / 2.367 GB, free: 231.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.191e-05/4.611, allocations: 0 / 2.367 GB, free: 231.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.895e-05/4.611, allocations: 318.8 kB / 2.367 GB, free: 231 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.797e-05/4.611, allocations: 43.92 kB / 2.368 GB, free: 230.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.289e-05/4.611, allocations: 86 kB / 2.368 GB, free: 230.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.1e-05/4.611, allocations: 43.97 kB / 2.368 GB, free: 230.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/4.611, allocations: 0 / 2.368 GB, free: 230.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0007159/4.612, allocations: 218.2 kB / 2.368 GB, free: 230.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/4.612, allocations: 4 kB / 2.368 GB, free: 230.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/4.612, allocations: 3.984 kB / 2.368 GB, free: 230.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006147/4.613, allocations: 88.91 kB / 2.368 GB, free: 230.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002367/4.613, allocations: 39.95 kB / 2.368 GB, free: 230.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001644/4.615, allocations: 1.492 MB / 2.369 GB, free: 228.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002288/4.615, allocations: 27.95 kB / 2.369 GB, free: 228.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/4.615, allocations: 4 kB / 2.369 GB, free: 228.8 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 7.316e-05/4.615, allocations: 113 kB / 2.37 GB, free: 228.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.751e-05/4.615, allocations: 7.906 kB / 2.37 GB, free: 228.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007461/4.616, allocations: 251.6 kB / 2.37 GB, free: 228.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/4.616, allocations: 4 kB / 2.37 GB, free: 228.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.11e-07/4.616, allocations: 0 / 2.37 GB, free: 228.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/4.616, allocations: 0 / 2.37 GB, free: 228.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001873/4.616, allocations: 214 kB / 2.37 GB, free: 228.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/4.616, allocations: 4 kB / 2.37 GB, free: 228.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002253/4.616, allocations: 35.97 kB / 2.37 GB, free: 228.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00051/4.617, allocations: 88.77 kB / 2.37 GB, free: 228 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/4.617, allocations: 0 / 2.37 GB, free: 228 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001515/4.618, allocations: 1.515 MB / 2.372 GB, free: 226.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/4.618, allocations: 48 / 2.372 GB, free: 226.4 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006745/4.619, allocations: 320.8 kB / 2.372 GB, free: 226 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008006/4.62, allocations: 0.6992 MB / 2.373 GB, free: 225.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.551e-05/4.62, allocations: 84.95 kB / 2.373 GB, free: 225.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.888e-05/4.62, allocations: 4 kB / 2.373 GB, free: 225.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002337/4.62, allocations: 23.97 kB / 2.373 GB, free: 225.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.202e-05/4.62, allocations: 7.984 kB / 2.373 GB, free: 225.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/4.62, allocations: 4 kB / 2.373 GB, free: 225.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.856e-05/4.62, allocations: 103.3 kB / 2.373 GB, free: 225.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00102/4.621, allocations: 127.9 kB / 2.373 GB, free: 224.9 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.0007663/4.622, allocations: 0.7109 MB / 2.374 GB, free: 224.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000517/4.623, allocations: 233.9 kB / 2.374 GB, free: 224 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/4.623, allocations: 0 / 2.374 GB, free: 224 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003083/4.623, allocations: 181.8 kB / 2.374 GB, free: 223.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002088/4.623, allocations: 19.98 kB / 2.374 GB, free: 223.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006605/4.624, allocations: 223 kB / 2.374 GB, free: 223.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002215/4.624, allocations: 0.7423 MB / 2.375 GB, free: 222.8 MB / 0.6823 GB Notification: Performance of SimCode: time 2.71e-07/4.624, allocations: 0 / 2.375 GB, free: 222.8 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)