Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7182/0.7182, allocations: 141.8 MB / 149.1 MB, free: 0.6133 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001319/0.00132, allocations: 184.1 kB / 182 MB, free: 12.78 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.278/1.278, allocations: 221.3 MB / 436 MB, free: 5.512 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009185/0.0009185, allocations: 90.64 kB / 0.507 GB, free: 19.12 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001776/0.001776, allocations: 282.4 kB / 0.5885 GB, free: 6.691 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.3756/0.3774, allocations: 89.62 MB / 0.676 GB, free: 139.9 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.5282, allocations: 82.78 MB / 0.7568 GB, free: 88.55 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.724/3.252, allocations: 1.686 GB / 2.443 GB, free: 25.82 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002604/3.252, allocations: 87.88 kB / 2.443 GB, free: 25.78 MB / 0.6982 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.3569/3.609, allocations: 64.55 MB / 2.506 GB, free: 246.6 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/3.609, allocations: 11.53 kB / 2.506 GB, free: 246.6 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001008/3.61, allocations: 88.02 kB / 2.506 GB, free: 246.6 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002915/3.611, allocations: 214.2 kB / 2.507 GB, free: 246.4 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/3.611, allocations: 0 / 2.507 GB, free: 246.4 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.069e-05/3.611, allocations: 7.781 kB / 2.507 GB, free: 246.3 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001945/3.611, allocations: 74.25 kB / 2.507 GB, free: 246.3 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/3.611, allocations: 94.78 kB / 2.507 GB, free: 246.3 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/3.611, allocations: 0 / 2.507 GB, free: 246.3 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.77e-05/3.611, allocations: 0.6562 kB / 2.507 GB, free: 246.3 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/3.611, allocations: 3.938 kB / 2.507 GB, free: 246.3 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007137/3.612, allocations: 385.6 kB / 2.507 GB, free: 246 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003258/3.612, allocations: 202.6 kB / 2.507 GB, free: 245.8 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.501e-05/3.612, allocations: 47.59 kB / 2.507 GB, free: 245.8 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 2.893e-05/3.612, allocations: 0.5625 kB / 2.507 GB, free: 245.8 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.575e-05/3.612, allocations: 38.5 kB / 2.507 GB, free: 245.8 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=8): time 1.483e-06/3.612, allocations: 0 / 2.507 GB, free: 245.8 MB / 0.6982 GB Notification: Performance of matching and sorting (n=8): time 0.0002563/3.613, allocations: 97.95 kB / 2.507 GB, free: 245.7 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.767e-05/3.613, allocations: 51.41 kB / 2.507 GB, free: 245.6 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.676e-05/3.613, allocations: 120.4 kB / 2.508 GB, free: 245.5 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/3.613, allocations: 29.58 kB / 2.508 GB, free: 245.5 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 4.099e-05/3.613, allocations: 99.95 kB / 2.508 GB, free: 245.4 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 3.27e-05/3.613, allocations: 21.72 kB / 2.508 GB, free: 245.4 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.618e-06/3.613, allocations: 3.969 kB / 2.508 GB, free: 245.4 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 5.599e-05/3.613, allocations: 323.7 kB / 2.508 GB, free: 245.1 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.099e-05/3.613, allocations: 27.72 kB / 2.508 GB, free: 245 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.338e-05/3.613, allocations: 54.38 kB / 2.508 GB, free: 245 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.593e-05/3.613, allocations: 27.73 kB / 2.508 GB, free: 245 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/3.613, allocations: 0 / 2.508 GB, free: 245 MB / 0.6982 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001752/3.613, allocations: 98.53 kB / 2.508 GB, free: 244.9 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/3.613, allocations: 6.312 kB / 2.508 GB, free: 244.9 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/3.613, allocations: 0 / 2.508 GB, free: 244.9 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/3.613, allocations: 0 / 2.508 GB, free: 244.9 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002511/3.614, allocations: 37.03 kB / 2.508 GB, free: 244.9 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/3.614, allocations: 1.719 kB / 2.508 GB, free: 244.9 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001719/3.614, allocations: 30.42 kB / 2.508 GB, free: 244.9 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/3.614, allocations: 6.328 kB / 2.508 GB, free: 244.9 MB / 0.6982 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.41e-05/3.614, allocations: 102.7 kB / 2.508 GB, free: 244.8 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.785e-05/3.614, allocations: 7.469 kB / 2.508 GB, free: 244.8 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.864e-05/3.614, allocations: 28.14 kB / 2.508 GB, free: 244.8 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/3.614, allocations: 0 / 2.508 GB, free: 244.8 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/3.614, allocations: 0.6562 kB / 2.508 GB, free: 244.8 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/3.614, allocations: 0.625 kB / 2.508 GB, free: 244.8 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004243/3.614, allocations: 378.4 kB / 2.509 GB, free: 244.4 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/3.614, allocations: 0 / 2.509 GB, free: 244.4 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002175/3.615, allocations: 45.33 kB / 2.509 GB, free: 244.4 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/3.615, allocations: 0 / 2.509 GB, free: 244.4 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/3.615, allocations: 1.375 kB / 2.509 GB, free: 244.4 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/3.615, allocations: 0 / 2.509 GB, free: 244.4 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/3.615, allocations: 1.219 kB / 2.509 GB, free: 244.4 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001793/3.615, allocations: 200.8 kB / 2.509 GB, free: 244.2 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002846/3.615, allocations: 0.5804 MB / 2.51 GB, free: 243.7 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 2.749e-05/3.615, allocations: 88.81 kB / 2.51 GB, free: 243.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/3.615, allocations: 0 / 2.51 GB, free: 243.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002065/3.616, allocations: 31.45 kB / 2.51 GB, free: 243.5 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.556e-05/3.616, allocations: 5.797 kB / 2.51 GB, free: 243.5 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/3.616, allocations: 5.75 kB / 2.51 GB, free: 243.5 MB / 0.6982 GB Notification: Performance of sort global known variables: time 4.577e-05/3.616, allocations: 101 kB / 2.51 GB, free: 243.4 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.0009966/3.617, allocations: 118.6 kB / 2.51 GB, free: 243.4 MB / 0.6982 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.0009823/3.618, allocations: 0.7375 MB / 2.511 GB, free: 243.1 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.0001937/3.618, allocations: 63.95 kB / 2.511 GB, free: 243 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/3.618, allocations: 0 / 2.511 GB, free: 243 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 8.497e-05/3.618, allocations: 42.02 kB / 2.511 GB, free: 243 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002577/3.618, allocations: 36.27 kB / 2.511 GB, free: 243 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004828/3.619, allocations: 159 kB / 2.511 GB, free: 242.9 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002153/3.619, allocations: 0.7312 MB / 2.512 GB, free: 242.1 MB / 0.6982 GB Notification: Performance of SimCode: time 3.11e-07/3.619, allocations: 0 / 2.512 GB, free: 242.1 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)