Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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_TDryBulPhi,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",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.005216/0.005216, allocations: 185.5 kB / 7.463 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7345/0.7345, allocations: 133.5 MB / 141.4 MB, free: 15.7 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.568/1.568, allocations: 221.3 MB / 395 MB, free: 10.16 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.001027/0.001027, allocations: 97.92 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4442/0.4452, allocations: 88.42 MB / 0.5529 GB, free: 89.24 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.179/0.6242, allocations: 82.31 MB / 0.6333 GB, free: 14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.709/4.333, allocations: 1.693 GB / 2.327 GB, free: 261.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003209/4.334, allocations: 81.78 kB / 2.327 GB, free: 261.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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.1673/4.501, allocations: 86.31 MB / 2.411 GB, free: 186.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/4.501, allocations: 8 kB / 2.411 GB, free: 186.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000828/4.502, allocations: 87.7 kB / 2.411 GB, free: 186 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002696/4.502, allocations: 226.9 kB / 2.411 GB, free: 185.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.289e-05/4.502, allocations: 34.03 kB / 2.411 GB, free: 185.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.268e-05/4.502, allocations: 15.89 kB / 2.411 GB, free: 185.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002243/4.502, allocations: 112.6 kB / 2.411 GB, free: 185.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002727/4.503, allocations: 226.7 kB / 2.412 GB, free: 185.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/4.503, allocations: 3.938 kB / 2.412 GB, free: 185.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.542e-05/4.503, allocations: 4 kB / 2.412 GB, free: 185.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/4.503, allocations: 4 kB / 2.412 GB, free: 185.3 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001433/4.504, allocations: 1.138 MB / 2.413 GB, free: 184.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006482/4.505, allocations: 182.7 kB / 2.413 GB, free: 183.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.86e-05/4.505, allocations: 52.84 kB / 2.413 GB, free: 183.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.89e-05/4.505, allocations: 0 / 2.413 GB, free: 183.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.906e-05/4.505, allocations: 42.56 kB / 2.413 GB, free: 183.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=12): time 1.042e-06/4.505, allocations: 0 / 2.413 GB, free: 183.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12): time 0.00128/4.506, allocations: 267.1 kB / 2.413 GB, free: 183.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.245e-05/4.506, allocations: 51.41 kB / 2.413 GB, free: 183.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/4.507, allocations: 149.7 kB / 2.413 GB, free: 183.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/4.507, allocations: 25.7 kB / 2.413 GB, free: 183.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.913e-05/4.507, allocations: 139.8 kB / 2.414 GB, free: 183.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.477e-05/4.507, allocations: 39.45 kB / 2.414 GB, free: 183.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.496e-05/4.507, allocations: 0 / 2.414 GB, free: 183.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.02e-05/4.507, allocations: 330.8 kB / 2.414 GB, free: 182.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.144e-05/4.507, allocations: 48.36 kB / 2.414 GB, free: 182.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/4.507, allocations: 109.1 kB / 2.414 GB, free: 182.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/4.507, allocations: 71.94 kB / 2.414 GB, free: 182.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/4.507, allocations: 0 / 2.414 GB, free: 182.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001248/4.508, allocations: 318.9 kB / 2.414 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/4.508, allocations: 10.64 kB / 2.414 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/4.508, allocations: 0 / 2.414 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001146/4.51, allocations: 165.8 kB / 2.415 GB, free: 182 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002329/4.51, allocations: 47.81 kB / 2.415 GB, free: 182 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003195/4.513, allocations: 2.902 MB / 2.418 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003505/4.513, allocations: 27.88 kB / 2.418 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.644e-05/4.513, allocations: 20.05 kB / 2.418 GB, free: 178.8 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 8.565e-05/4.513, allocations: 108.9 kB / 2.418 GB, free: 178.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.721e-05/4.514, allocations: 11.81 kB / 2.418 GB, free: 178.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001141/4.515, allocations: 331.4 kB / 2.418 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/4.515, allocations: 4 kB / 2.418 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-06/4.515, allocations: 4 kB / 2.418 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/4.515, allocations: 0 / 2.418 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002357/4.515, allocations: 230 kB / 2.418 GB, free: 178 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/4.515, allocations: 4 kB / 2.418 GB, free: 178 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000138/4.515, allocations: 23.98 kB / 2.418 GB, free: 178 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009696/4.516, allocations: 161.5 kB / 2.418 GB, free: 177.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/4.516, allocations: 4 kB / 2.418 GB, free: 177.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00281/4.519, allocations: 2.949 MB / 2.421 GB, free: 174.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/4.519, allocations: 7.938 kB / 2.421 GB, free: 174.7 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001093/4.52, allocations: 388.9 kB / 2.422 GB, free: 174.2 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001263/4.521, allocations: 0.7773 MB / 2.422 GB, free: 173.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/4.521, allocations: 104.9 kB / 2.423 GB, free: 173.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.537e-05/4.521, allocations: 4 kB / 2.423 GB, free: 173.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003062/4.522, allocations: 15.98 kB / 2.423 GB, free: 173.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.692e-05/4.522, allocations: 15.97 kB / 2.423 GB, free: 173.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-05/4.522, allocations: 4 kB / 2.423 GB, free: 173.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.642e-05/4.522, allocations: 115.2 kB / 2.423 GB, free: 173.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001287/4.523, allocations: 179.8 kB / 2.423 GB, free: 173 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 (12): * Single equations (assignments): 10 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001045/4.524, allocations: 0.8329 MB / 2.424 GB, free: 172.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007921/4.525, allocations: 379.8 kB / 2.424 GB, free: 171.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/4.525, allocations: 0 / 2.424 GB, free: 171.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005229/4.526, allocations: 323.3 kB / 2.424 GB, free: 171.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003499/4.526, allocations: 31.97 kB / 2.424 GB, free: 171.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009304/4.527, allocations: 307.9 kB / 2.425 GB, free: 171.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002915/4.527, allocations: 0.7646 MB / 2.425 GB, free: 170.3 MB / 0.6823 GB Notification: Performance of SimCode: time 2.9e-07/4.527, allocations: 0 / 2.425 GB, free: 170.3 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)