Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.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.Functions.Examples.Density_pTX,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_Density_pTX",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.7268/0.7268, allocations: 127.4 MB / 134.6 MB, free: 4.082 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.001397/0.001397, allocations: 183.7 kB / 164.4 MB, free: 6.867 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.703/1.703, allocations: 205.1 MB / 399.1 MB, free: 6.137 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.0009479/0.000948, allocations: 98.98 kB / 476.3 MB, free: 8.875 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3256/0.3266, allocations: 82.89 MB / 0.5461 GB, free: 42.62 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.5033, allocations: 76.75 MB / 0.621 GB, free: 13.8 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5108/1.014, allocations: 128.4 MB / 0.7464 GB, free: 15.9 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002411/1.014, allocations: 75.89 kB / 0.7465 GB, free: 15.83 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.003928/1.018, allocations: 1.635 MB / 0.7481 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/1.018, allocations: 8 kB / 0.7481 GB, free: 14.15 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.568e-05/1.018, allocations: 4 kB / 0.7481 GB, free: 14.15 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/1.019, allocations: 173.3 kB / 0.7482 GB, free: 13.94 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.144e-05/1.019, allocations: 33.7 kB / 0.7483 GB, free: 13.9 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.615e-06/1.019, allocations: 0 / 0.7483 GB, free: 13.9 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.832e-05/1.019, allocations: 8 kB / 0.7483 GB, free: 13.89 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.649e-05/1.019, allocations: 37.81 kB / 0.7483 GB, free: 13.85 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/1.019, allocations: 0 / 0.7483 GB, free: 13.85 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/1.019, allocations: 0 / 0.7483 GB, free: 13.85 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/1.019, allocations: 0 / 0.7483 GB, free: 13.85 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001584/1.019, allocations: 134.2 kB / 0.7484 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 6.225e-05/1.019, allocations: 34.59 kB / 0.7485 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.301e-05/1.019, allocations: 12.86 kB / 0.7485 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001756/1.019, allocations: 89.19 kB / 0.7486 GB, free: 13.52 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/1.019, allocations: 30.56 kB / 0.7486 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/1.019, allocations: 0 / 0.7486 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0002164/1.02, allocations: 49.62 kB / 0.7486 GB, free: 13.43 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.74e-05/1.02, allocations: 51.41 kB / 0.7487 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.132e-05/1.02, allocations: 93 kB / 0.7488 GB, free: 13.27 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/1.02, allocations: 26.36 kB / 0.7488 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.121e-05/1.02, allocations: 80.14 kB / 0.7489 GB, free: 13.15 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.804e-05/1.02, allocations: 11.81 kB / 0.7489 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-06/1.02, allocations: 0 / 0.7489 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001898/1.02, allocations: 314.8 kB / 0.7492 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.4e-05/1.02, allocations: 4 kB / 0.7492 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.434e-05/1.02, allocations: 11.11 kB / 0.7492 GB, free: 12.81 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.04e-05/1.02, allocations: 11.98 kB / 0.7492 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.02, allocations: 0 / 0.7492 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.855e-05/1.02, allocations: 41.69 kB / 0.7493 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/1.02, allocations: 4 kB / 0.7493 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/1.02, allocations: 0 / 0.7493 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/1.02, allocations: 0 / 0.7493 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.096e-05/1.02, allocations: 12 kB / 0.7493 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/1.02, allocations: 7.844 kB / 0.7493 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.174e-05/1.02, allocations: 0 / 0.7493 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/1.02, allocations: 0 / 0.7493 GB, free: 12.73 MB / 0.5105 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 (3): * Single equations (assignments): 3 * 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 8.962e-05/1.021, allocations: 116.9 kB / 0.7494 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.172e-05/1.021, allocations: 3.906 kB / 0.7494 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001423/1.021, allocations: 49.38 kB / 0.7494 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/1.021, allocations: 0 / 0.7494 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/1.021, allocations: 0 / 0.7494 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/1.021, allocations: 0 / 0.7494 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.952e-05/1.021, allocations: 131 kB / 0.7496 GB, free: 12.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/1.021, allocations: 0 / 0.7496 GB, free: 12.39 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.522e-05/1.021, allocations: 11.92 kB / 0.7496 GB, free: 12.38 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/1.021, allocations: 0 / 0.7496 GB, free: 12.38 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/1.021, allocations: 15.91 kB / 0.7496 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/1.021, allocations: 0 / 0.7496 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/1.021, allocations: 3.938 kB / 0.7496 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001137/1.021, allocations: 65.55 kB / 0.7497 GB, free: 12.27 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002392/1.021, allocations: 457.5 kB / 0.7501 GB, free: 11.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.388e-05/1.021, allocations: 85.11 kB / 0.7502 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/1.021, allocations: 3.906 kB / 0.7502 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.287e-05/1.021, allocations: 0 / 0.7502 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.397e-05/1.022, allocations: 7.984 kB / 0.7502 GB, free: 11.69 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-06/1.022, allocations: 0 / 0.7502 GB, free: 11.69 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.557e-05/1.022, allocations: 83.28 kB / 0.7503 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007618/1.022, allocations: 11.94 kB / 0.7503 GB, free: 11.6 MB / 0.5105 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 (3): * Single equations (assignments): 3 * 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.0002608/1.023, allocations: 139.1 kB / 0.7504 GB, free: 11.45 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.776e-05/1.023, allocations: 16 kB / 0.7504 GB, free: 11.44 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/1.023, allocations: 2.562 kB / 0.7504 GB, free: 11.44 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.11e-05/1.023, allocations: 11.98 kB / 0.7504 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001805/1.023, allocations: 11.19 kB / 0.7505 GB, free: 11.42 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002355/1.023, allocations: 59.84 kB / 0.7505 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004029/1.024, allocations: 0.6915 MB / 0.7512 GB, free: 10.62 MB / 0.5105 GB Notification: Performance of SimCode: time 2.4e-07/1.024, allocations: 0 / 0.7512 GB, free: 10.62 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)