Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.712/0.712, allocations: 127.4 MB / 134.6 MB, free: 4.055 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001087/0.001087, allocations: 193.2 kB / 164.4 MB, free: 6.855 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.589/1.589, allocations: 205.1 MB / 399.1 MB, free: 6.062 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008916/0.0008916, allocations: 81.22 kB / 476.3 MB, free: 8.824 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3291/0.3301, allocations: 82.89 MB / 0.5461 GB, free: 42.64 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1874/0.5175, allocations: 76.75 MB / 0.621 GB, free: 13.81 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.365/4.883, allocations: 2.144 GB / 2.765 GB, free: 69.44 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002271/4.883, allocations: 83.95 kB / 2.765 GB, free: 69.36 MB / 0.6355 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.119/5.002, allocations: 66.73 MB / 2.83 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/5.002, allocations: 12 kB / 2.83 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009302/5.003, allocations: 87.62 kB / 2.83 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002711/5.003, allocations: 218.7 kB / 2.831 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.739e-06/5.003, allocations: 0 / 2.831 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.929e-05/5.003, allocations: 4 kB / 2.831 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001813/5.004, allocations: 71.98 kB / 2.831 GB, free: 0.8789 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/5.004, allocations: 93.61 kB / 2.831 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/5.004, allocations: 0 / 2.831 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/5.004, allocations: 0 / 2.831 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/5.004, allocations: 4 kB / 2.831 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007036/5.005, allocations: 385 kB / 2.831 GB, free: 372 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003228/5.005, allocations: 191.8 kB / 2.831 GB, free: 152 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.028e-05/5.005, allocations: 44.84 kB / 2.831 GB, free: 104 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.029e-05/5.005, allocations: 7.906 kB / 2.831 GB, free: 96 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.667e-05/5.005, allocations: 38.56 kB / 2.832 GB, free: 48 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 1.293e-06/5.005, allocations: 0 / 2.832 GB, free: 48 kB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.1917/5.197, allocations: 96.72 kB / 2.832 GB, free: 277 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/5.197, allocations: 51.41 kB / 2.832 GB, free: 276.9 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.93e-05/5.197, allocations: 114.2 kB / 2.832 GB, free: 276.8 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/5.197, allocations: 29.67 kB / 2.832 GB, free: 276.8 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.242e-05/5.197, allocations: 96.69 kB / 2.832 GB, free: 276.7 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.644e-05/5.197, allocations: 28.81 kB / 2.832 GB, free: 276.7 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.087e-06/5.197, allocations: 3.812 kB / 2.832 GB, free: 276.7 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.478e-05/5.197, allocations: 321 kB / 2.832 GB, free: 276.4 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.014e-05/5.197, allocations: 23.59 kB / 2.832 GB, free: 276.4 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.268e-05/5.197, allocations: 51.42 kB / 2.832 GB, free: 276.4 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.522e-05/5.197, allocations: 29.77 kB / 2.832 GB, free: 276.4 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/5.197, allocations: 3.656 kB / 2.832 GB, free: 276.4 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001932/5.198, allocations: 95.73 kB / 2.832 GB, free: 276.4 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/5.198, allocations: 3.938 kB / 2.832 GB, free: 276.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/5.198, allocations: 7.812 kB / 2.832 GB, free: 276.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/5.198, allocations: 3.609 kB / 2.832 GB, free: 276.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002748/5.198, allocations: 35.05 kB / 2.832 GB, free: 276.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/5.198, allocations: 3.562 kB / 2.832 GB, free: 276.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001707/5.198, allocations: 30.61 kB / 2.832 GB, free: 276.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.481e-05/5.198, allocations: 7.875 kB / 2.832 GB, free: 276.4 MB / 0.6355 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.239e-05/5.198, allocations: 104.1 kB / 2.833 GB, free: 276.2 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.58e-05/5.198, allocations: 7.781 kB / 2.833 GB, free: 276.2 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.57e-05/5.198, allocations: 15.91 kB / 2.833 GB, free: 276.2 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/5.198, allocations: 3.656 kB / 2.833 GB, free: 276.2 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/5.198, allocations: 7.531 kB / 2.833 GB, free: 276.2 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/5.198, allocations: 3.812 kB / 2.833 GB, free: 276.2 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004064/5.199, allocations: 379.1 kB / 2.833 GB, free: 276 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/5.199, allocations: 0 / 2.833 GB, free: 276 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002065/5.199, allocations: 40.97 kB / 2.833 GB, free: 276 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/5.199, allocations: 0 / 2.833 GB, free: 276 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/5.199, allocations: 3.938 kB / 2.833 GB, free: 276 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/5.199, allocations: 0 / 2.833 GB, free: 276 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/5.199, allocations: 0 / 2.833 GB, free: 276 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001819/5.199, allocations: 206.6 kB / 2.833 GB, free: 275.8 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002749/5.199, allocations: 0.5791 MB / 2.834 GB, free: 275.3 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.235e-05/5.199, allocations: 84.61 kB / 2.834 GB, free: 275.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.837e-05/5.199, allocations: 3.906 kB / 2.834 GB, free: 275.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001968/5.2, allocations: 28.09 kB / 2.834 GB, free: 275.2 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.221e-05/5.2, allocations: 7.703 kB / 2.834 GB, free: 275.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/5.2, allocations: 3.219 kB / 2.834 GB, free: 275.2 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.943e-05/5.2, allocations: 104.9 kB / 2.834 GB, free: 275.2 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0009909/5.201, allocations: 124.3 kB / 2.834 GB, free: 275.2 MB / 0.6355 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.0006736/5.201, allocations: 0.7366 MB / 2.835 GB, free: 275 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001527/5.202, allocations: 73.94 kB / 2.835 GB, free: 275 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/5.202, allocations: 0 / 2.835 GB, free: 275 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.048e-05/5.202, allocations: 32.81 kB / 2.835 GB, free: 275 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002345/5.202, allocations: 32.58 kB / 2.835 GB, free: 275 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004436/5.202, allocations: 160.8 kB / 2.835 GB, free: 274.9 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001818/5.203, allocations: 0.7291 MB / 2.836 GB, free: 274.2 MB / 0.6355 GB Notification: Performance of SimCode: time 2.61e-07/5.203, allocations: 2.219 kB / 2.836 GB, free: 274.2 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)