Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.382/1.382, allocations: 285.5 MB / 292.8 MB, free: 0.6641 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009922/0.0009923, allocations: 180.1 kB / 361.1 MB, free: 15.22 MB / 290.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.157/1.157, allocations: 205.1 MB / 0.6195 GB, free: 5.816 MB / 466.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009208/0.0009208, allocations: 94.52 kB / 0.7326 GB, free: 47.4 MB / 0.5184 GB Notification: Performance of FrontEnd - loaded program: time 0.2268/0.2278, allocations: 121.5 MB / 0.8512 GB, free: 12.62 MB / 0.5965 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5683/0.7961, allocations: 115.3 MB / 0.9638 GB, free: 85.55 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1547/0.9509, allocations: 138.8 MB / 1.099 GB, free: 10.55 MB / 0.7059 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003238/0.9513, allocations: 87.92 kB / 1.099 GB, free: 10.46 MB / 0.7059 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.008583/0.9599, allocations: 2.705 MB / 1.102 GB, free: 7.762 MB / 0.7059 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.96, allocations: 12.5 kB / 1.102 GB, free: 7.75 MB / 0.7059 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.303e-05/0.96, allocations: 3.906 kB / 1.102 GB, free: 7.746 MB / 0.7059 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.9601, allocations: 163.1 kB / 1.102 GB, free: 7.547 MB / 0.7059 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.321e-05/0.9602, allocations: 25.7 kB / 1.102 GB, free: 7.516 MB / 0.7059 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.9602, allocations: 4 kB / 1.102 GB, free: 7.512 MB / 0.7059 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.936e-05/0.9603, allocations: 8 kB / 1.102 GB, free: 7.504 MB / 0.7059 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.684e-05/0.9604, allocations: 40.28 kB / 1.102 GB, free: 7.461 MB / 0.7059 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.102e-06/0.9604, allocations: 0.75 kB / 1.102 GB, free: 7.461 MB / 0.7059 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.9604, allocations: 11.89 kB / 1.102 GB, free: 7.449 MB / 0.7059 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.9604, allocations: 3.938 kB / 1.102 GB, free: 7.445 MB / 0.7059 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001262/0.9605, allocations: 134.2 kB / 1.102 GB, free: 7.277 MB / 0.7059 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.9607, allocations: 42.61 kB / 1.102 GB, free: 7.227 MB / 0.7059 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.969e-05/0.9607, allocations: 12.86 kB / 1.102 GB, free: 7.211 MB / 0.7059 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000248/0.961, allocations: 186.3 kB / 1.103 GB, free: 6.992 MB / 0.7059 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.961, allocations: 30.56 kB / 1.103 GB, free: 6.953 MB / 0.7059 GB Notification: Performance of pre-optimization done (n=4): time 1.322e-06/0.961, allocations: 2.906 kB / 1.103 GB, free: 6.953 MB / 0.7059 GB Notification: Performance of matching and sorting (n=4): time 0.000515/0.9615, allocations: 105.5 kB / 1.103 GB, free: 6.844 MB / 0.7059 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.445e-05/0.9616, allocations: 51.41 kB / 1.103 GB, free: 6.781 MB / 0.7059 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.661e-05/0.9616, allocations: 92.94 kB / 1.103 GB, free: 6.684 MB / 0.7059 GB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.9617, allocations: 29.7 kB / 1.103 GB, free: 6.648 MB / 0.7059 GB Notification: Performance of collectInitialEqns (initialization): time 2.443e-05/0.9617, allocations: 84.14 kB / 1.103 GB, free: 6.562 MB / 0.7059 GB Notification: Performance of collectInitialBindings (initialization): time 2.544e-05/0.9617, allocations: 11.75 kB / 1.103 GB, free: 6.551 MB / 0.7059 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-06/0.9617, allocations: 7.938 kB / 1.103 GB, free: 6.543 MB / 0.7059 GB Notification: Performance of setup shared object (initialization): time 7.907e-05/0.9618, allocations: 314.8 kB / 1.103 GB, free: 6.227 MB / 0.7059 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.643e-05/0.9618, allocations: 8 kB / 1.103 GB, free: 6.219 MB / 0.7059 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.124e-05/0.9619, allocations: 4 kB / 1.103 GB, free: 6.215 MB / 0.7059 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000332/0.9622, allocations: 59.91 kB / 1.103 GB, free: 6.156 MB / 0.7059 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.9622, allocations: 4 kB / 1.103 GB, free: 6.152 MB / 0.7059 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003638/0.9626, allocations: 101.6 kB / 1.104 GB, free: 6.047 MB / 0.7059 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.9626, allocations: 4 kB / 1.104 GB, free: 6.043 MB / 0.7059 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.9626, allocations: 0 / 1.104 GB, free: 6.043 MB / 0.7059 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.707e-06/0.9626, allocations: 0 / 1.104 GB, free: 6.043 MB / 0.7059 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.937e-05/0.9627, allocations: 11.98 kB / 1.104 GB, free: 6.031 MB / 0.7059 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.9627, allocations: 0 / 1.104 GB, free: 6.031 MB / 0.7059 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.332e-05/0.9627, allocations: 5.344 kB / 1.104 GB, free: 6.027 MB / 0.7059 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.9628, allocations: 4 kB / 1.104 GB, free: 6.023 MB / 0.7059 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 5.67e-05/0.9628, allocations: 112.7 kB / 1.104 GB, free: 5.906 MB / 0.7059 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.08e-05/0.9628, allocations: 3.906 kB / 1.104 GB, free: 5.902 MB / 0.7059 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004162/0.9633, allocations: 117.3 kB / 1.104 GB, free: 5.777 MB / 0.7059 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.9633, allocations: 0 / 1.104 GB, free: 5.777 MB / 0.7059 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.9633, allocations: 0 / 1.104 GB, free: 5.777 MB / 0.7059 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.9633, allocations: 0 / 1.104 GB, free: 5.777 MB / 0.7059 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.622e-05/0.9634, allocations: 138.2 kB / 1.104 GB, free: 5.605 MB / 0.7059 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.9634, allocations: 0 / 1.104 GB, free: 5.605 MB / 0.7059 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.85e-05/0.9634, allocations: 8 kB / 1.104 GB, free: 5.598 MB / 0.7059 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.9635, allocations: 7.906 kB / 1.104 GB, free: 5.59 MB / 0.7059 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.9635, allocations: 3.891 kB / 1.104 GB, free: 5.59 MB / 0.7059 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.9635, allocations: 0 / 1.104 GB, free: 5.59 MB / 0.7059 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.9635, allocations: 3.984 kB / 1.104 GB, free: 5.586 MB / 0.7059 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003916/0.9639, allocations: 133 kB / 1.104 GB, free: 5.438 MB / 0.7059 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004932/0.9644, allocations: 0.5013 MB / 1.105 GB, free: 4.914 MB / 0.7059 GB Notification: Performance of postOpt removeConstants (simulation): time 5.94e-05/0.9645, allocations: 85 kB / 1.105 GB, free: 4.812 MB / 0.7059 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.9645, allocations: 4 kB / 1.105 GB, free: 4.809 MB / 0.7059 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.892e-05/0.9645, allocations: 0 / 1.105 GB, free: 4.809 MB / 0.7059 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.874e-05/0.9646, allocations: 0 / 1.105 GB, free: 4.809 MB / 0.7059 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.9646, allocations: 8 kB / 1.105 GB, free: 4.801 MB / 0.7059 GB Notification: Performance of sort global known variables: time 2.812e-05/0.9646, allocations: 79.27 kB / 1.105 GB, free: 4.723 MB / 0.7059 GB Notification: Performance of remove unused functions: time 0.000784/0.9654, allocations: 35.94 kB / 1.105 GB, free: 4.688 MB / 0.7059 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.0002616/0.9657, allocations: 152.3 kB / 1.105 GB, free: 4.531 MB / 0.7059 GB Notification: Performance of simCode: created initialization part: time 9.393e-05/0.9658, allocations: 20 kB / 1.105 GB, free: 4.512 MB / 0.7059 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.9658, allocations: 0 / 1.105 GB, free: 4.512 MB / 0.7059 GB Notification: Performance of simCode: created simulation system equations: time 2.565e-05/0.9658, allocations: 12 kB / 1.105 GB, free: 4.5 MB / 0.7059 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001767/0.966, allocations: 8.641 kB / 1.105 GB, free: 4.492 MB / 0.7059 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002415/0.9662, allocations: 70.92 kB / 1.105 GB, free: 4.402 MB / 0.7059 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002928/0.9666, allocations: 0.6876 MB / 1.106 GB, free: 3.691 MB / 0.7059 GB Notification: Performance of SimCode: time 2.5e-07/0.9666, allocations: 0 / 1.106 GB, free: 3.691 MB / 0.7059 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)