Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Functions.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.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.756/1.756, allocations: 289.8 MB / 297.1 MB, free: 6.625 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.001171/0.001171, allocations: 185.2 kB / 366.3 MB, free: 1.934 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.684/1.684, allocations: 205.1 MB / 0.6256 GB, free: 5.777 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.0009429/0.0009431, allocations: 97.2 kB / 0.7395 GB, free: 39.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3134/0.3144, allocations: 122.4 MB / 0.8591 GB, free: 13.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7934/1.108, allocations: 116.3 MB / 0.9726 GB, free: 68.31 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1944/1.302, allocations: 139.8 MB / 1.109 GB, free: 8.613 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002291/1.303, allocations: 83.88 kB / 1.109 GB, free: 8.531 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.008942/1.312, allocations: 2.689 MB / 1.112 GB, free: 5.812 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/1.312, allocations: 8 kB / 1.112 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.465e-05/1.312, allocations: 7.906 kB / 1.112 GB, free: 5.797 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/1.312, allocations: 159.1 kB / 1.112 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.642e-05/1.312, allocations: 37.62 kB / 1.112 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.486e-06/1.312, allocations: 0 / 1.112 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.236e-05/1.312, allocations: 12 kB / 1.112 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.078e-05/1.312, allocations: 40.28 kB / 1.112 GB, free: 5.504 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/1.312, allocations: 7.984 kB / 1.112 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/1.312, allocations: 5.406 kB / 1.112 GB, free: 5.492 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/1.312, allocations: 4 kB / 1.112 GB, free: 5.488 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001541/1.312, allocations: 138.3 kB / 1.112 GB, free: 5.316 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001756/1.312, allocations: 34.58 kB / 1.112 GB, free: 5.273 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.388e-05/1.313, allocations: 12.86 kB / 1.112 GB, free: 5.258 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002964/1.313, allocations: 190.2 kB / 1.113 GB, free: 5.035 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/1.313, allocations: 30.56 kB / 1.113 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/1.313, allocations: 0 / 1.113 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0005559/1.313, allocations: 105.5 kB / 1.113 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/1.313, allocations: 51.41 kB / 1.113 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.539e-05/1.314, allocations: 89 kB / 1.113 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/1.314, allocations: 29.7 kB / 1.113 GB, free: 4.695 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.753e-05/1.314, allocations: 84.14 kB / 1.113 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.364e-05/1.314, allocations: 15.73 kB / 1.113 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-06/1.314, allocations: 3.938 kB / 1.113 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001485/1.314, allocations: 314.8 kB / 1.113 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.773e-05/1.314, allocations: 5.406 kB / 1.113 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.328e-05/1.314, allocations: 4 kB / 1.113 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003634/1.314, allocations: 67.89 kB / 1.113 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/1.314, allocations: 0 / 1.113 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004079/1.315, allocations: 105.5 kB / 1.113 GB, free: 4.09 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.355e-05/1.315, allocations: 8 kB / 1.113 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/1.315, allocations: 0 / 1.113 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/1.315, allocations: 0 / 1.113 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.207e-05/1.315, allocations: 8 kB / 1.113 GB, free: 4.074 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/1.315, allocations: 0 / 1.113 GB, free: 4.074 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.321e-05/1.315, allocations: 3.906 kB / 1.113 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/1.315, allocations: 0 / 1.113 GB, free: 4.07 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 (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 8.19e-05/1.315, allocations: 109.7 kB / 1.114 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.361e-05/1.315, allocations: 11.89 kB / 1.114 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004537/1.315, allocations: 109.2 kB / 1.114 GB, free: 3.824 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/1.316, allocations: 1.875 kB / 1.114 GB, free: 3.824 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/1.316, allocations: 0 / 1.114 GB, free: 3.824 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/1.316, allocations: 4 kB / 1.114 GB, free: 3.82 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001164/1.316, allocations: 138.2 kB / 1.114 GB, free: 3.648 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/1.316, allocations: 0 / 1.114 GB, free: 3.648 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.046e-05/1.316, allocations: 7.984 kB / 1.114 GB, free: 3.641 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/1.316, allocations: 8.328 kB / 1.114 GB, free: 3.633 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/1.316, allocations: 4 kB / 1.114 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/1.316, allocations: 0 / 1.114 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/1.316, allocations: 0 / 1.114 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004166/1.316, allocations: 129 kB / 1.114 GB, free: 3.484 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005536/1.317, allocations: 0.5013 MB / 1.114 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.317e-05/1.317, allocations: 93 kB / 1.114 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/1.317, allocations: 0 / 1.114 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.369e-05/1.317, allocations: 4 kB / 1.114 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.057e-05/1.317, allocations: 3.984 kB / 1.114 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/1.317, allocations: 0 / 1.114 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.826e-05/1.317, allocations: 79.28 kB / 1.115 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008039/1.318, allocations: 39.94 kB / 1.115 GB, free: 2.727 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 (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.0002807/1.318, allocations: 145.3 kB / 1.115 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.096e-05/1.318, allocations: 24.95 kB / 1.115 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/1.318, allocations: 0 / 1.115 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.39e-05/1.318, allocations: 12 kB / 1.115 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001616/1.318, allocations: 7.906 kB / 1.115 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002356/1.319, allocations: 59.92 kB / 1.115 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004215/1.319, allocations: 0.6915 MB / 1.116 GB, free: 1.734 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/1.319, allocations: 0 / 1.116 GB, free: 1.734 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)