Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.879/1.879, allocations: 390.4 MB / 397.7 MB, free: 11.24 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 185.2 kB / 490.8 MB, free: 1.938 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.177/1.177, allocations: 221.3 MB / 0.7863 GB, free: 13.75 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009228/0.0009229, allocations: 92.67 kB / 0.9264 GB, free: 14.28 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4423/0.4432, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.6519, allocations: 143 MB / 1.212 GB, free: 40.06 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.682/3.334, allocations: 1.727 GB / 2.938 GB, free: 146.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002241/3.335, allocations: 83.89 kB / 2.938 GB, free: 146.2 MB / 1.151 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.1086/3.443, allocations: 64.57 MB / 3.001 GB, free: 80.39 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.099e-05/3.443, allocations: 8 kB / 3.001 GB, free: 80.39 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008345/3.444, allocations: 87.69 kB / 3.002 GB, free: 80.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00021/3.444, allocations: 210.9 kB / 3.002 GB, free: 80.05 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.006e-06/3.444, allocations: 7.844 kB / 3.002 GB, free: 80.05 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.362e-05/3.444, allocations: 8 kB / 3.002 GB, free: 80.04 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001516/3.445, allocations: 63.98 kB / 3.002 GB, free: 79.98 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/3.445, allocations: 93.55 kB / 3.002 GB, free: 79.88 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/3.445, allocations: 4 kB / 3.002 GB, free: 79.88 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/3.445, allocations: 0 / 3.002 GB, free: 79.88 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/3.445, allocations: 8 kB / 3.002 GB, free: 79.87 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006167/3.445, allocations: 377 kB / 3.002 GB, free: 79.46 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002957/3.446, allocations: 200 kB / 3.003 GB, free: 79.24 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.605e-05/3.446, allocations: 36.86 kB / 3.003 GB, free: 79.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.332e-05/3.446, allocations: 4 kB / 3.003 GB, free: 79.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.53e-05/3.446, allocations: 42.45 kB / 3.003 GB, free: 79.14 MB / 1.151 GB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/3.446, allocations: 3.938 kB / 3.003 GB, free: 79.14 MB / 1.151 GB Notification: Performance of matching and sorting (n=8): time 0.0002205/3.446, allocations: 101.6 kB / 3.003 GB, free: 79.04 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.767e-05/3.446, allocations: 51.41 kB / 3.003 GB, free: 78.97 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.473e-05/3.446, allocations: 119.2 kB / 3.003 GB, free: 78.85 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/3.446, allocations: 25.7 kB / 3.003 GB, free: 78.82 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 2.469e-05/3.446, allocations: 100.1 kB / 3.003 GB, free: 78.71 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.433e-05/3.446, allocations: 23.66 kB / 3.003 GB, free: 78.69 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.425e-06/3.446, allocations: 0 / 3.003 GB, free: 78.69 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 3.945e-05/3.446, allocations: 326.7 kB / 3.003 GB, free: 78.36 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.659e-05/3.446, allocations: 27.98 kB / 3.003 GB, free: 78.34 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.279e-05/3.446, allocations: 46.58 kB / 3.003 GB, free: 78.28 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 5e-05/3.446, allocations: 27.98 kB / 3.003 GB, free: 78.25 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/3.446, allocations: 0 / 3.003 GB, free: 78.25 MB / 1.151 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001508/3.447, allocations: 105.6 kB / 3.004 GB, free: 78.14 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/3.447, allocations: 6.812 kB / 3.004 GB, free: 78.14 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/3.447, allocations: 3.938 kB / 3.004 GB, free: 78.14 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.766e-06/3.447, allocations: 4.031 kB / 3.004 GB, free: 78.13 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002304/3.447, allocations: 35.97 kB / 3.004 GB, free: 78.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/3.447, allocations: 4 kB / 3.004 GB, free: 78.09 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001584/3.447, allocations: 27.88 kB / 3.004 GB, free: 78.07 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/3.447, allocations: 4 kB / 3.004 GB, free: 78.06 MB / 1.151 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 4.624e-05/3.447, allocations: 101 kB / 3.004 GB, free: 77.96 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.342e-05/3.447, allocations: 7.906 kB / 3.004 GB, free: 77.95 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.497e-05/3.447, allocations: 16.5 kB / 3.004 GB, free: 77.94 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/3.447, allocations: 3.984 kB / 3.004 GB, free: 77.93 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/3.447, allocations: 0 / 3.004 GB, free: 77.93 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/3.447, allocations: 7.984 kB / 3.004 GB, free: 77.93 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003592/3.448, allocations: 374.7 kB / 3.004 GB, free: 77.52 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/3.448, allocations: 11.94 kB / 3.004 GB, free: 77.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002045/3.448, allocations: 35.97 kB / 3.004 GB, free: 77.47 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/3.448, allocations: 0 / 3.004 GB, free: 77.47 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/3.448, allocations: 0 / 3.004 GB, free: 77.47 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/3.448, allocations: 0 / 3.004 GB, free: 77.47 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/3.448, allocations: 4 kB / 3.004 GB, free: 77.46 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001618/3.448, allocations: 207.2 kB / 3.004 GB, free: 77.25 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002415/3.448, allocations: 0.5784 MB / 3.005 GB, free: 76.65 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 2.003e-05/3.448, allocations: 84.95 kB / 3.005 GB, free: 76.55 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.73e-05/3.448, allocations: 8 kB / 3.005 GB, free: 76.54 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001909/3.449, allocations: 19.89 kB / 3.005 GB, free: 76.52 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.097e-05/3.449, allocations: 11.98 kB / 3.005 GB, free: 76.51 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/3.449, allocations: 4 kB / 3.005 GB, free: 76.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.356e-05/3.449, allocations: 110.4 kB / 3.005 GB, free: 76.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0009276/3.45, allocations: 112 kB / 3.005 GB, free: 76.29 MB / 1.151 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.0006285/3.45, allocations: 0.7512 MB / 3.006 GB, free: 75.54 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0001562/3.45, allocations: 63.97 kB / 3.006 GB, free: 75.48 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/3.45, allocations: 0 / 3.006 GB, free: 75.48 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 6.093e-05/3.45, allocations: 39.94 kB / 3.006 GB, free: 75.44 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002241/3.451, allocations: 31.88 kB / 3.006 GB, free: 75.41 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004185/3.451, allocations: 155.3 kB / 3.006 GB, free: 75.23 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001756/3.451, allocations: 0.7283 MB / 3.007 GB, free: 74.48 MB / 1.151 GB Notification: Performance of SimCode: time 2.71e-07/3.451, allocations: 0 / 3.007 GB, free: 74.48 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat does not exist to compare? outputFormat=mat