Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.412/1.412, allocations: 285.5 MB / 292.8 MB, free: 10.48 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009877/0.0009877, allocations: 181.3 kB / 361.1 MB, free: 7.113 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.181/1.181, allocations: 205.1 MB / 0.6195 GB, free: 10.32 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009602/0.0009602, allocations: 94.34 kB / 0.7326 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2133/0.2143, allocations: 121.4 MB / 0.8511 GB, free: 2.914 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5254/0.7397, allocations: 115.3 MB / 0.9638 GB, free: 78 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.423/4.163, allocations: 2.069 GB / 3.033 GB, free: 273.2 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002473/4.163, allocations: 84.38 kB / 3.033 GB, free: 273.2 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.1288/4.292, allocations: 67.6 MB / 3.099 GB, free: 253.2 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/4.292, allocations: 8 kB / 3.099 GB, free: 253.2 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009499/4.293, allocations: 83.78 kB / 3.099 GB, free: 253.1 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002952/4.293, allocations: 223.4 kB / 3.099 GB, free: 252.9 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/4.293, allocations: 4 kB / 3.099 GB, free: 252.9 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.694e-05/4.293, allocations: 4 kB / 3.099 GB, free: 252.9 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001783/4.293, allocations: 65.48 kB / 3.099 GB, free: 252.8 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/4.294, allocations: 94.17 kB / 3.099 GB, free: 252.8 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/4.294, allocations: 0 / 3.099 GB, free: 252.8 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.968e-05/4.294, allocations: 7.844 kB / 3.099 GB, free: 252.7 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/4.294, allocations: 0 / 3.099 GB, free: 252.7 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006659/4.294, allocations: 379.7 kB / 3.1 GB, free: 252.4 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003094/4.295, allocations: 203.1 kB / 3.1 GB, free: 252.2 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.621e-05/4.295, allocations: 42.8 kB / 3.1 GB, free: 252.2 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/4.295, allocations: 0 / 3.1 GB, free: 252.2 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.359e-05/4.295, allocations: 37.98 kB / 3.1 GB, free: 252.1 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/4.295, allocations: 4 kB / 3.1 GB, free: 252.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=8): time 0.000237/4.295, allocations: 95.56 kB / 3.1 GB, free: 252 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.603e-05/4.295, allocations: 59.41 kB / 3.1 GB, free: 252 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.829e-05/4.295, allocations: 111.9 kB / 3.1 GB, free: 251.8 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/4.295, allocations: 25.7 kB / 3.1 GB, free: 251.8 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 2.727e-05/4.295, allocations: 99.42 kB / 3.1 GB, free: 251.7 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 2.723e-05/4.295, allocations: 27.31 kB / 3.1 GB, free: 251.7 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.328e-06/4.295, allocations: 0 / 3.1 GB, free: 251.7 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 4.855e-05/4.295, allocations: 326.6 kB / 3.101 GB, free: 251.4 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.731e-05/4.295, allocations: 23 kB / 3.101 GB, free: 251.4 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.464e-05/4.295, allocations: 49.38 kB / 3.101 GB, free: 251.3 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.017e-05/4.295, allocations: 27.11 kB / 3.101 GB, free: 251.3 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/4.295, allocations: 0 / 3.101 GB, free: 251.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001602/4.296, allocations: 105 kB / 3.101 GB, free: 251.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/4.296, allocations: 7.906 kB / 3.101 GB, free: 251.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/4.296, allocations: 0 / 3.101 GB, free: 251.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/4.296, allocations: 4 kB / 3.101 GB, free: 251.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002309/4.296, allocations: 43.88 kB / 3.101 GB, free: 251.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/4.296, allocations: 0 / 3.101 GB, free: 251.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001599/4.296, allocations: 27.97 kB / 3.101 GB, free: 251.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/4.296, allocations: 0 / 3.101 GB, free: 251.1 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (8): * Single equations (assignments): 8 * 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 5.745e-05/4.296, allocations: 108.9 kB / 3.101 GB, free: 251 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.446e-05/4.296, allocations: 11.81 kB / 3.101 GB, free: 251 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.9e-05/4.296, allocations: 16 kB / 3.101 GB, free: 251 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/4.296, allocations: 0 / 3.101 GB, free: 251 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/4.296, allocations: 0 / 3.101 GB, free: 251 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/4.296, allocations: 3.984 kB / 3.101 GB, free: 251 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000414/4.297, allocations: 374.1 kB / 3.101 GB, free: 250.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/4.297, allocations: 0 / 3.101 GB, free: 250.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002044/4.297, allocations: 43.53 kB / 3.102 GB, free: 250.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/4.297, allocations: 0 / 3.102 GB, free: 250.6 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/4.297, allocations: 7.938 kB / 3.102 GB, free: 250.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/4.297, allocations: 3.906 kB / 3.102 GB, free: 250.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/4.297, allocations: 0 / 3.102 GB, free: 250.6 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001673/4.297, allocations: 198.8 kB / 3.102 GB, free: 250.4 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002698/4.297, allocations: 0.5877 MB / 3.102 GB, free: 249.8 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 2.587e-05/4.297, allocations: 88.95 kB / 3.102 GB, free: 249.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.511e-05/4.297, allocations: 0 / 3.102 GB, free: 249.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001908/4.298, allocations: 23.98 kB / 3.102 GB, free: 249.7 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.601e-05/4.298, allocations: 7.422 kB / 3.102 GB, free: 249.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/4.298, allocations: 4 kB / 3.102 GB, free: 249.7 MB / 0.9323 GB Notification: Performance of sort global known variables: time 4.189e-05/4.298, allocations: 101.2 kB / 3.103 GB, free: 249.6 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0009656/4.299, allocations: 122.6 kB / 3.103 GB, free: 249.5 MB / 0.9323 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 (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0007518/4.299, allocations: 0.7319 MB / 3.103 GB, free: 248.9 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0001592/4.3, allocations: 76.67 kB / 3.103 GB, free: 248.8 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/4.3, allocations: 3.938 kB / 3.103 GB, free: 248.8 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 6.392e-05/4.3, allocations: 38.67 kB / 3.103 GB, free: 248.8 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002449/4.3, allocations: 20.28 kB / 3.103 GB, free: 248.8 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004667/4.3, allocations: 161.9 kB / 3.104 GB, free: 248.6 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001982/4.301, allocations: 0.7351 MB / 3.104 GB, free: 247.9 MB / 0.9323 GB Notification: Performance of SimCode: time 9.11e-07/4.301, allocations: 4 kB / 3.104 GB, free: 247.9 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)