Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.653/1.653, allocations: 289.8 MB / 297 MB, free: 6.672 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.001779/0.001778, allocations: 173.3 kB / 366.3 MB, free: 2.008 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.611/1.611, allocations: 205.2 MB / 0.6256 GB, free: 5.832 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.000925/0.000925, allocations: 96.06 kB / 0.7396 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2812/0.2822, allocations: 122.4 MB / 0.8591 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7022/0.9844, allocations: 116.3 MB / 0.9726 GB, free: 68.21 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.411/5.395, allocations: 2.07 GB / 3.043 GB, free: 14.71 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002466/5.396, allocations: 84.55 kB / 3.043 GB, free: 14.62 MB / 0.948 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.6079/6.004, allocations: 67.6 MB / 3.109 GB, free: 330.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/6.004, allocations: 8.406 kB / 3.109 GB, free: 330.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008663/6.005, allocations: 83.73 kB / 3.109 GB, free: 330.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002386/6.005, allocations: 215.8 kB / 3.109 GB, free: 330.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/6.005, allocations: 2.188 kB / 3.109 GB, free: 330.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.922e-05/6.005, allocations: 8.688 kB / 3.109 GB, free: 330.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001758/6.005, allocations: 64.83 kB / 3.109 GB, free: 330.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/6.005, allocations: 98.23 kB / 3.109 GB, free: 330.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/6.005, allocations: 1.625 kB / 3.109 GB, free: 330.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.933e-05/6.005, allocations: 0 / 3.109 GB, free: 330.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/6.005, allocations: 2.969 kB / 3.109 GB, free: 330.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006618/6.006, allocations: 379.2 kB / 3.11 GB, free: 329.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003222/6.006, allocations: 191.2 kB / 3.11 GB, free: 329.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.86e-05/6.006, allocations: 47.97 kB / 3.11 GB, free: 329.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.092e-05/6.006, allocations: 6.094 kB / 3.11 GB, free: 329.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.545e-05/6.006, allocations: 30.56 kB / 3.11 GB, free: 329.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/6.006, allocations: 0 / 3.11 GB, free: 329.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=8): time 0.0002477/6.007, allocations: 111.9 kB / 3.11 GB, free: 329.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.939e-05/6.007, allocations: 58.19 kB / 3.11 GB, free: 329.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.94e-05/6.007, allocations: 117 kB / 3.11 GB, free: 329.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/6.007, allocations: 25.7 kB / 3.11 GB, free: 329.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.778e-05/6.007, allocations: 103 kB / 3.11 GB, free: 329.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.653e-05/6.007, allocations: 23.22 kB / 3.11 GB, free: 329.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.727e-06/6.007, allocations: 0 / 3.11 GB, free: 329.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.511e-05/6.007, allocations: 323.3 kB / 3.111 GB, free: 328.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.889e-05/6.007, allocations: 24.59 kB / 3.111 GB, free: 328.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.1e-05/6.007, allocations: 43.16 kB / 3.111 GB, free: 328.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.75e-05/6.007, allocations: 31.27 kB / 3.111 GB, free: 328.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/6.007, allocations: 0 / 3.111 GB, free: 328.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001642/6.007, allocations: 100.7 kB / 3.111 GB, free: 328.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/6.007, allocations: 7 kB / 3.111 GB, free: 328.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/6.007, allocations: 3.938 kB / 3.111 GB, free: 328.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/6.007, allocations: 0 / 3.111 GB, free: 328.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002392/6.008, allocations: 36.38 kB / 3.111 GB, free: 328.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/6.008, allocations: 6.656 kB / 3.111 GB, free: 328.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001671/6.008, allocations: 21.83 kB / 3.111 GB, free: 328.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/6.008, allocations: 5.797 kB / 3.111 GB, free: 328.7 MB / 0.948 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 6.74e-05/6.008, allocations: 115.1 kB / 3.111 GB, free: 328.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.58e-05/6.008, allocations: 10.19 kB / 3.111 GB, free: 328.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.786e-05/6.008, allocations: 15.41 kB / 3.111 GB, free: 328.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/6.008, allocations: 1.375 kB / 3.111 GB, free: 328.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-06/6.008, allocations: 0 / 3.111 GB, free: 328.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/6.008, allocations: 6.703 kB / 3.111 GB, free: 328.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004187/6.009, allocations: 372 kB / 3.111 GB, free: 328.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/6.009, allocations: 5.922 kB / 3.111 GB, free: 328.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002087/6.009, allocations: 32.16 kB / 3.111 GB, free: 328.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/6.009, allocations: 4 kB / 3.111 GB, free: 328.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/6.009, allocations: 1.344 kB / 3.111 GB, free: 328.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/6.009, allocations: 0 / 3.111 GB, free: 328.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/6.009, allocations: 2.031 kB / 3.111 GB, free: 328.2 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002078/6.009, allocations: 207.3 kB / 3.112 GB, free: 328 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003685/6.009, allocations: 0.5935 MB / 3.112 GB, free: 327.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.971e-05/6.009, allocations: 83.8 kB / 3.112 GB, free: 327.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.879e-05/6.009, allocations: 1.719 kB / 3.112 GB, free: 327.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002045/6.01, allocations: 22.33 kB / 3.112 GB, free: 327.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.042e-05/6.01, allocations: 7.859 kB / 3.112 GB, free: 327.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/6.01, allocations: 0 / 3.112 GB, free: 327.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.156e-05/6.01, allocations: 105.9 kB / 3.112 GB, free: 327.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001155/6.011, allocations: 126.3 kB / 3.112 GB, free: 327.1 MB / 0.948 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.0009037/6.012, allocations: 0.7346 MB / 3.113 GB, free: 326.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001971/6.012, allocations: 68.2 kB / 3.113 GB, free: 326.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/6.012, allocations: 0 / 3.113 GB, free: 326.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.902e-05/6.012, allocations: 39.05 kB / 3.113 GB, free: 326.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002751/6.012, allocations: 30.28 kB / 3.113 GB, free: 326.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005694/6.013, allocations: 168.7 kB / 3.113 GB, free: 326.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003158/6.013, allocations: 0.736 MB / 3.114 GB, free: 325.9 MB / 0.948 GB Notification: Performance of SimCode: time 2.4e-07/6.013, allocations: 0 / 3.114 GB, free: 325.9 MB / 0.948 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)