Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_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.1.4-maint.8.1.x/package.mo): time 1.536/1.536, allocations: 289.8 MB / 297.1 MB, free: 6.648 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001222/0.001222, allocations: 177.3 kB / 366.3 MB, free: 1.965 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.598/1.598, allocations: 205.1 MB / 0.6256 GB, free: 5.805 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009147/0.0009143, allocations: 85.19 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2777/0.2786, allocations: 122.4 MB / 0.8591 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.69/0.9686, allocations: 116.3 MB / 0.9726 GB, free: 68.59 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1894/1.158, allocations: 140.1 MB / 1.109 GB, free: 8.422 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002009/1.158, allocations: 87.88 kB / 1.11 GB, free: 8.336 MB / 0.7136 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.008569/1.167, allocations: 2.603 MB / 1.112 GB, free: 5.703 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/1.167, allocations: 12 kB / 1.112 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.791e-05/1.167, allocations: 0 / 1.112 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/1.167, allocations: 175.6 kB / 1.112 GB, free: 5.48 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/1.167, allocations: 0 / 1.112 GB, free: 5.48 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.533e-05/1.167, allocations: 4 kB / 1.112 GB, free: 5.477 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001082/1.167, allocations: 27.92 kB / 1.112 GB, free: 5.449 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.269e-05/1.167, allocations: 46.25 kB / 1.112 GB, free: 5.398 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/1.167, allocations: 4 kB / 1.112 GB, free: 5.395 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/1.167, allocations: 7.906 kB / 1.112 GB, free: 5.387 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/1.167, allocations: 0 / 1.112 GB, free: 5.387 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003811/1.168, allocations: 253.4 kB / 1.113 GB, free: 5.102 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.029e-05/1.168, allocations: 30.52 kB / 1.113 GB, free: 5.062 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.438e-05/1.168, allocations: 18.17 kB / 1.113 GB, free: 5.043 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001784/1.168, allocations: 93.19 kB / 1.113 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/1.168, allocations: 30.56 kB / 1.113 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/1.168, allocations: 0 / 1.113 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0003734/1.169, allocations: 85.55 kB / 1.113 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.997e-05/1.169, allocations: 51.41 kB / 1.113 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.361e-05/1.169, allocations: 97.94 kB / 1.113 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/1.169, allocations: 25.7 kB / 1.113 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.725e-05/1.169, allocations: 92.12 kB / 1.113 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.344e-05/1.169, allocations: 19.69 kB / 1.113 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.919e-06/1.169, allocations: 0 / 1.113 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001306/1.169, allocations: 317.4 kB / 1.113 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.609e-05/1.169, allocations: 8 kB / 1.113 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.239e-05/1.169, allocations: 8 kB / 1.113 GB, free: 4.164 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000199/1.169, allocations: 38.33 kB / 1.113 GB, free: 4.129 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/1.169, allocations: 0 / 1.113 GB, free: 4.129 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002554/1.17, allocations: 85.55 kB / 1.114 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/1.17, allocations: 11.98 kB / 1.114 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/1.17, allocations: 0 / 1.114 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/1.17, allocations: 3.938 kB / 1.114 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/1.17, allocations: 23.98 kB / 1.114 GB, free: 4 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/1.17, allocations: 4 kB / 1.114 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.123e-05/1.17, allocations: 15.98 kB / 1.114 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/1.17, allocations: 4 kB / 1.114 GB, free: 3.977 MB / 0.7136 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 7.945e-05/1.17, allocations: 101 kB / 1.114 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.828e-05/1.17, allocations: 15.84 kB / 1.114 GB, free: 3.855 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002997/1.17, allocations: 85.62 kB / 1.114 GB, free: 3.754 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/1.17, allocations: 0 / 1.114 GB, free: 3.754 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/1.17, allocations: 4 kB / 1.114 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/1.17, allocations: 0 / 1.114 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001876/1.171, allocations: 150.1 kB / 1.114 GB, free: 3.566 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/1.171, allocations: 0 / 1.114 GB, free: 3.566 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/1.171, allocations: 23.98 kB / 1.114 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/1.171, allocations: 0 / 1.114 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.535e-06/1.171, allocations: 0 / 1.114 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/1.171, allocations: 0 / 1.114 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.171, allocations: 1.719 kB / 1.114 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002893/1.171, allocations: 191.3 kB / 1.114 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003729/1.171, allocations: 0.5444 MB / 1.115 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.847e-05/1.171, allocations: 81.02 kB / 1.115 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/1.171, allocations: 7.984 kB / 1.115 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/1.172, allocations: 19.98 kB / 1.115 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.09e-05/1.172, allocations: 0 / 1.115 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.657e-06/1.172, allocations: 4 kB / 1.115 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.221e-05/1.172, allocations: 87.27 kB / 1.115 GB, free: 2.562 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008089/1.172, allocations: 43.84 kB / 1.115 GB, free: 2.52 MB / 0.7136 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.0002539/1.173, allocations: 147.2 kB / 1.115 GB, free: 2.367 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.214e-05/1.173, allocations: 20.84 kB / 1.115 GB, free: 2.348 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/1.173, allocations: 0 / 1.115 GB, free: 2.348 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.088e-05/1.173, allocations: 12 kB / 1.115 GB, free: 2.336 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001708/1.173, allocations: 5.125 kB / 1.115 GB, free: 2.332 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002748/1.173, allocations: 83.64 kB / 1.115 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003229/1.174, allocations: 0.7032 MB / 1.116 GB, free: 1.5 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/1.174, allocations: 0 / 1.116 GB, free: 1.5 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)