Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.29/1.29, allocations: 249.4 MB / 256.7 MB, free: 7.043 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001055/0.001055, allocations: 177.3 kB / 316 MB, free: 3.555 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.171/1.171, allocations: 205.1 MB / 0.5667 GB, free: 15.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008491/0.0008493, allocations: 82.7 kB / 0.671 GB, free: 4.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3468/0.3477, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.5197, allocations: 106.3 MB / 0.8847 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4895/1.009, allocations: 133.6 MB / 1.015 GB, free: 4.992 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002003/1.009, allocations: 78.02 kB / 1.015 GB, free: 4.949 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.007953/1.017, allocations: 2.697 MB / 1.018 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/1.017, allocations: 11.94 kB / 1.018 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.178e-05/1.018, allocations: 4 kB / 1.018 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/1.018, allocations: 167 kB / 1.018 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.237e-05/1.018, allocations: 33.64 kB / 1.018 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.073e-06/1.018, allocations: 0 / 1.018 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.341e-05/1.018, allocations: 14.92 kB / 1.018 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.318e-05/1.018, allocations: 41.33 kB / 1.018 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.84e-06/1.018, allocations: 0 / 1.018 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/1.018, allocations: 0 / 1.018 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/1.018, allocations: 0 / 1.018 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001647/1.018, allocations: 134 kB / 1.018 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/1.018, allocations: 51.45 kB / 1.018 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.493e-05/1.018, allocations: 8.859 kB / 1.018 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002593/1.019, allocations: 189.5 kB / 1.018 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.815e-05/1.019, allocations: 30.56 kB / 1.018 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/1.019, allocations: 0 / 1.018 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0004748/1.019, allocations: 100.8 kB / 1.019 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/1.019, allocations: 59.28 kB / 1.019 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.314e-05/1.019, allocations: 89 kB / 1.019 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/1.019, allocations: 25.7 kB / 1.019 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.563e-05/1.019, allocations: 80.14 kB / 1.019 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.476e-05/1.019, allocations: 14.75 kB / 1.019 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-06/1.019, allocations: 0 / 1.019 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.748e-05/1.019, allocations: 318.8 kB / 1.019 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.345e-05/1.019, allocations: 7.5 kB / 1.019 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.849e-06/1.019, allocations: 4 kB / 1.019 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003383/1.02, allocations: 67.16 kB / 1.019 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/1.02, allocations: 0 / 1.019 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003862/1.02, allocations: 103.9 kB / 1.019 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/1.02, allocations: 4 kB / 1.019 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/1.02, allocations: 0 / 1.019 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.005e-06/1.02, allocations: 0 / 1.019 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.051e-05/1.02, allocations: 15.36 kB / 1.019 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/1.02, allocations: 0 / 1.019 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.835e-05/1.02, allocations: 3.938 kB / 1.019 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-06/1.02, allocations: 4 kB / 1.019 GB, free: 0.918 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 (4): * Single equations (assignments): 4 * 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.289e-05/1.02, allocations: 108.9 kB / 1.019 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.645e-05/1.02, allocations: 0 / 1.019 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004242/1.021, allocations: 125.9 kB / 1.02 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/1.021, allocations: 0 / 1.02 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/1.021, allocations: 4 kB / 1.02 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/1.021, allocations: 0 / 1.02 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001223/1.021, allocations: 134.1 kB / 1.02 GB, free: 0.5156 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/1.021, allocations: 4 kB / 1.02 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.741e-05/1.021, allocations: 7.562 kB / 1.02 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/1.021, allocations: 7.938 kB / 1.02 GB, free: 0.5 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/1.021, allocations: 0 / 1.02 GB, free: 0.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/1.021, allocations: 3.984 kB / 1.02 GB, free: 0.4961 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/1.021, allocations: 0 / 1.02 GB, free: 0.4961 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003886/1.021, allocations: 131.2 kB / 1.02 GB, free: 368 kB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005183/1.022, allocations: 0.5036 MB / 1.02 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.253e-05/1.022, allocations: 81.09 kB / 1.02 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/1.022, allocations: 0 / 1.02 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.317e-05/1.022, allocations: 4 kB / 1.02 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.554e-05/1.022, allocations: 0 / 1.02 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.307e-06/1.022, allocations: 11.89 kB / 1.02 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.906e-05/1.022, allocations: 83.16 kB / 1.021 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007757/1.023, allocations: 39.56 kB / 1.021 GB, free: 15.62 MB / 0.6511 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 (4): * Single equations (assignments): 4 * 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.0002384/1.023, allocations: 147.1 kB / 1.021 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 7.497e-05/1.023, allocations: 15.12 kB / 1.021 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/1.023, allocations: 0 / 1.021 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.007e-05/1.023, allocations: 11.62 kB / 1.021 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001543/1.024, allocations: 13.48 kB / 1.021 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002187/1.024, allocations: 67.03 kB / 1.021 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002461/1.024, allocations: 0.6876 MB / 1.021 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of SimCode: time 2.3e-07/1.024, allocations: 3.938 kB / 1.021 GB, free: 14.63 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)