Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.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.pW_X,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",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.407/1.407, allocations: 285.5 MB / 292.8 MB, free: 10.5 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.0009735/0.0009735, allocations: 183.5 kB / 361.1 MB, free: 7.105 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.204/1.204, allocations: 205.1 MB / 0.6195 GB, free: 10.31 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.000855/0.000855, allocations: 95.12 kB / 0.7326 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2382/0.2391, allocations: 121.4 MB / 0.8511 GB, free: 2.922 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5374/0.7765, allocations: 115.3 MB / 0.9638 GB, free: 78.39 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1588/0.9354, allocations: 137.4 MB / 1.098 GB, free: 2.57 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002113/0.9356, allocations: 77.08 kB / 1.098 GB, free: 2.496 MB / 0.698 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.00435/0.94, allocations: 1.484 MB / 1.1 GB, free: 1.008 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.94, allocations: 15.98 kB / 1.1 GB, free: 0.9922 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002179/0.9403, allocations: 12.73 kB / 1.1 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.9404, allocations: 172.3 kB / 1.1 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.9404, allocations: 0 / 1.1 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.9405, allocations: 0 / 1.1 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.08e-05/0.9406, allocations: 13.31 kB / 1.1 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.119e-05/0.9406, allocations: 47.98 kB / 1.1 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.9407, allocations: 0 / 1.1 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.9407, allocations: 0 / 1.1 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.9407, allocations: 0 / 1.1 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001645/0.9409, allocations: 139.6 kB / 1.1 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001882/0.9427, allocations: 268.2 kB / 1.1 GB, free: 284 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.506e-05/0.9428, allocations: 22.61 kB / 1.1 GB, free: 260 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.325e-05/0.9428, allocations: 1.922 kB / 1.1 GB, free: 260 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.9429, allocations: 38.64 kB / 1.1 GB, free: 212 kB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.463e-06/0.9429, allocations: 0 / 1.1 GB, free: 212 kB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0001327/0.943, allocations: 46.14 kB / 1.1 GB, free: 160 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.943, allocations: 52.03 kB / 1.1 GB, free: 96 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.404e-05/0.9431, allocations: 90.25 kB / 1.1 GB, free: 0 / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.9431, allocations: 26.73 kB / 1.1 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.912e-05/0.9432, allocations: 88.91 kB / 1.1 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.9432, allocations: 15.69 kB / 1.101 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-06/0.9432, allocations: 0.5938 kB / 1.101 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.9433, allocations: 315.8 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.911e-05/0.9434, allocations: 8 kB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.658e-05/0.9434, allocations: 9.141 kB / 1.101 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.307e-05/0.9434, allocations: 8.484 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.9434, allocations: 4.031 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.314e-05/0.9435, allocations: 54.36 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.9435, allocations: 4 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.381e-06/0.9435, allocations: 3.75 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.759e-06/0.9436, allocations: 3.938 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.053e-05/0.9436, allocations: 7.984 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.9436, allocations: 4 kB / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.986e-05/0.9437, allocations: 0 / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.9437, allocations: 0 / 1.101 GB, free: 15.44 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 0.000118/0.9438, allocations: 104.9 kB / 1.101 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.238e-05/0.9438, allocations: 8 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.789e-05/0.9439, allocations: 8.188 kB / 1.101 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.9439, allocations: 0 / 1.101 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.9439, allocations: 2.375 kB / 1.101 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.9439, allocations: 0 / 1.101 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001128/0.944, allocations: 138.1 kB / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.944, allocations: 0 / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.692e-05/0.9441, allocations: 8 kB / 1.101 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.9441, allocations: 0 / 1.101 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.9441, allocations: 0.5156 kB / 1.101 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.9441, allocations: 7.984 kB / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.9441, allocations: 0 / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001106/0.9442, allocations: 83.56 kB / 1.101 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002421/0.9445, allocations: 454.3 kB / 1.102 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.811e-05/0.9446, allocations: 81.11 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.9446, allocations: 4 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.495e-05/0.9447, allocations: 3.984 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.613e-05/0.9447, allocations: 0 / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.9447, allocations: 7.938 kB / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.978e-05/0.9447, allocations: 75.28 kB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007237/0.9455, allocations: 7.906 kB / 1.102 GB, free: 14.37 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.0001302/0.9456, allocations: 103.7 kB / 1.102 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.867e-05/0.9457, allocations: 28.03 kB / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.9457, allocations: 0 / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.005e-05/0.9457, allocations: 12 kB / 1.102 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001746/0.9459, allocations: 12.61 kB / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002847/0.9462, allocations: 72.7 kB / 1.102 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003191/0.9466, allocations: 0.6882 MB / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/0.9466, allocations: 7.938 kB / 1.103 GB, free: 13.4 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)