Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.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.Examples.Density_pTX,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_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.7875/0.7875, 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.001132/0.001132, allocations: 181.3 kB / 164.4 MB, free: 6.875 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.491/1.491, allocations: 205.1 MB / 399.1 MB, free: 6.133 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.001/0.001, allocations: 89.75 kB / 476.3 MB, free: 8.887 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3235/0.3246, allocations: 82.88 MB / 0.546 GB, free: 42.65 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1779/0.5025, allocations: 76.76 MB / 0.621 GB, free: 13.82 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5054/1.008, allocations: 128.9 MB / 0.7469 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003044/1.008, allocations: 79.95 kB / 0.747 GB, free: 15.19 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.006155/1.014, allocations: 2.237 MB / 0.7492 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 8.283e-05/1.015, allocations: 12 kB / 0.7492 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.564e-05/1.015, allocations: 3.906 kB / 0.7492 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/1.015, allocations: 171 kB / 0.7494 GB, free: 12.69 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/1.015, allocations: 0 / 0.7494 GB, free: 12.69 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.356e-05/1.015, allocations: 4 kB / 0.7494 GB, free: 12.69 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.111e-05/1.015, allocations: 20 kB / 0.7494 GB, free: 12.67 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.827e-05/1.015, allocations: 54.48 kB / 0.7494 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/1.015, allocations: 0 / 0.7494 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/1.015, allocations: 0 / 0.7494 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/1.015, allocations: 0 / 0.7494 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003575/1.015, allocations: 261.3 kB / 0.7497 GB, free: 12.32 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.368e-05/1.015, allocations: 30.58 kB / 0.7497 GB, free: 12.28 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.562e-05/1.016, allocations: 12.86 kB / 0.7497 GB, free: 12.26 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001592/1.016, allocations: 93.88 kB / 0.7498 GB, free: 12.15 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.658e-05/1.016, allocations: 30.56 kB / 0.7499 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 2.395e-06/1.016, allocations: 4 kB / 0.7499 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0002216/1.016, allocations: 55.98 kB / 0.7499 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.711e-05/1.016, allocations: 51.41 kB / 0.75 GB, free: 11.99 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.383e-05/1.016, allocations: 112.8 kB / 0.7501 GB, free: 11.87 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/1.016, allocations: 25.7 kB / 0.7501 GB, free: 11.84 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.69e-05/1.016, allocations: 88.08 kB / 0.7502 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.8e-05/1.016, allocations: 7.906 kB / 0.7502 GB, free: 11.74 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-06/1.016, allocations: 0 / 0.7502 GB, free: 11.74 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001063/1.016, allocations: 322.7 kB / 0.7505 GB, free: 11.42 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.36e-05/1.016, allocations: 8 kB / 0.7505 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.02e-05/1.016, allocations: 8 kB / 0.7505 GB, free: 11.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.441e-05/1.016, allocations: 19.92 kB / 0.7505 GB, free: 11.38 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/1.016, allocations: 0 / 0.7505 GB, free: 11.38 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001077/1.017, allocations: 49.69 kB / 0.7506 GB, free: 11.33 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/1.017, allocations: 4 kB / 0.7506 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/1.017, allocations: 0 / 0.7506 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/1.017, allocations: 4 kB / 0.7506 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001448/1.017, allocations: 23.98 kB / 0.7506 GB, free: 11.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/1.017, allocations: 3.906 kB / 0.7506 GB, free: 11.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.132e-05/1.017, allocations: 23.97 kB / 0.7506 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/1.017, allocations: 4 kB / 0.7506 GB, free: 11.27 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 6.835e-05/1.017, allocations: 108.9 kB / 0.7507 GB, free: 11.15 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.752e-05/1.017, allocations: 3.906 kB / 0.7507 GB, free: 11.15 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001597/1.017, allocations: 65.61 kB / 0.7508 GB, free: 11.08 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/1.017, allocations: 240 / 0.7508 GB, free: 11.08 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/1.017, allocations: 0 / 0.7508 GB, free: 11.08 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/1.017, allocations: 7.984 kB / 0.7508 GB, free: 11.07 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001351/1.017, allocations: 150.2 kB / 0.751 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/1.017, allocations: 5.625 kB / 0.751 GB, free: 10.88 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/1.017, allocations: 23.97 kB / 0.751 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/1.017, allocations: 0 / 0.751 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/1.017, allocations: 0 / 0.751 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/1.017, allocations: 7.938 kB / 0.751 GB, free: 10.85 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/1.017, allocations: 0 / 0.751 GB, free: 10.85 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001509/1.018, allocations: 155.5 kB / 0.7511 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002339/1.018, allocations: 0.5257 MB / 0.7517 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.511e-05/1.018, allocations: 81.11 kB / 0.7517 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/1.018, allocations: 8.719 kB / 0.7517 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/1.018, allocations: 15.98 kB / 0.7518 GB, free: 10.02 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.257e-05/1.018, allocations: 7.984 kB / 0.7518 GB, free: 10.01 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/1.018, allocations: 0 / 0.7518 GB, free: 10.01 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.916e-05/1.018, allocations: 87.28 kB / 0.7518 GB, free: 9.926 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007735/1.019, allocations: 23.94 kB / 0.7519 GB, free: 9.902 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.0002089/1.019, allocations: 140.7 kB / 0.752 GB, free: 9.754 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 9.371e-05/1.019, allocations: 27.92 kB / 0.752 GB, free: 9.727 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/1.019, allocations: 0 / 0.752 GB, free: 9.727 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.193e-05/1.019, allocations: 12 kB / 0.752 GB, free: 9.715 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001686/1.019, allocations: 7.906 kB / 0.752 GB, free: 9.707 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000256/1.02, allocations: 79.77 kB / 0.7521 GB, free: 9.605 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003645/1.02, allocations: 0.7002 MB / 0.7528 GB, free: 8.883 MB / 0.5105 GB Notification: Performance of SimCode: time 2.7e-07/1.02, allocations: 0 / 0.7528 GB, free: 8.883 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_Density_pTX.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)