Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.351/2.351, allocations: 284.8 MB / 292.1 MB, free: 14.79 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001726/0.001725, allocations: 177.3 kB / 360.3 MB, free: 12.3 MB / 302.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.782/1.782, allocations: 205.1 MB / 0.6187 GB, free: 5.203 MB / 462.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001295/0.001294, allocations: 97.97 kB / 0.7317 GB, free: 53.45 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.2609/0.2622, allocations: 121.4 MB / 0.8502 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2426/0.5049, allocations: 115.2 MB / 0.9628 GB, free: 7.23 MB / 0.7012 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6123/1.117, allocations: 137.3 MB / 1.097 GB, free: 15.31 MB / 0.7012 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002643/1.118, allocations: 76.47 kB / 1.097 GB, free: 15.23 MB / 0.7012 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.006054/1.124, allocations: 1.487 MB / 1.098 GB, free: 13.74 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/1.124, allocations: 8.5 kB / 1.098 GB, free: 13.73 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000283/1.124, allocations: 19.97 kB / 1.098 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.452e-05/1.124, allocations: 170.9 kB / 1.099 GB, free: 13.51 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/1.124, allocations: 3.812 kB / 1.099 GB, free: 13.51 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/1.124, allocations: 4 kB / 1.099 GB, free: 13.5 MB / 0.7012 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.035e-05/1.124, allocations: 12 kB / 1.099 GB, free: 13.49 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.829e-05/1.124, allocations: 38.58 kB / 1.099 GB, free: 13.45 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/1.124, allocations: 4 kB / 1.099 GB, free: 13.45 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/1.124, allocations: 0.8438 kB / 1.099 GB, free: 13.45 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/1.124, allocations: 0 / 1.099 GB, free: 13.45 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001362/1.125, allocations: 140.2 kB / 1.099 GB, free: 13.27 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003336/1.128, allocations: 270.7 kB / 1.099 GB, free: 13.01 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.883e-05/1.128, allocations: 20.58 kB / 1.099 GB, free: 12.99 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/1.128, allocations: 0 / 1.099 GB, free: 12.99 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/1.128, allocations: 35.81 kB / 1.099 GB, free: 12.95 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=4): time 2.215e-06/1.128, allocations: 0 / 1.099 GB, free: 12.95 MB / 0.7012 GB Notification: Performance of matching and sorting (n=4): time 0.0001792/1.128, allocations: 50.34 kB / 1.099 GB, free: 12.89 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.211e-05/1.128, allocations: 52.16 kB / 1.099 GB, free: 12.83 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.972e-05/1.128, allocations: 86.25 kB / 1.099 GB, free: 12.74 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/1.128, allocations: 29.64 kB / 1.099 GB, free: 12.7 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 1.644e-05/1.128, allocations: 80.14 kB / 1.099 GB, free: 12.62 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 3.243e-05/1.128, allocations: 24.36 kB / 1.099 GB, free: 12.6 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.509e-06/1.128, allocations: 0.6562 kB / 1.099 GB, free: 12.6 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 5.609e-05/1.128, allocations: 311.4 kB / 1.1 GB, free: 12.29 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.821e-05/1.129, allocations: 12.72 kB / 1.1 GB, free: 12.27 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.395e-05/1.129, allocations: 4 kB / 1.1 GB, free: 12.27 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.357e-05/1.129, allocations: 8.594 kB / 1.1 GB, free: 12.26 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/1.129, allocations: 3.906 kB / 1.1 GB, free: 12.26 MB / 0.7012 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.995e-05/1.129, allocations: 54.44 kB / 1.1 GB, free: 12.2 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/1.129, allocations: 4 kB / 1.1 GB, free: 12.2 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/1.129, allocations: 0.5 kB / 1.1 GB, free: 12.2 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/1.129, allocations: 4.938 kB / 1.1 GB, free: 12.19 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.667e-05/1.129, allocations: 8.797 kB / 1.1 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/1.129, allocations: 0.75 kB / 1.1 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.503e-05/1.129, allocations: 2.719 kB / 1.1 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/1.129, allocations: 0 / 1.1 GB, free: 12.18 MB / 0.7012 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.821e-05/1.129, allocations: 112.7 kB / 1.1 GB, free: 12.07 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.326e-05/1.129, allocations: 0 / 1.1 GB, free: 12.07 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.118e-05/1.129, allocations: 7.531 kB / 1.1 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/1.129, allocations: 0.8438 kB / 1.1 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/1.129, allocations: 7.938 kB / 1.1 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.74e-06/1.129, allocations: 6.156 kB / 1.1 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.76e-05/1.129, allocations: 134.1 kB / 1.1 GB, free: 11.88 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/1.129, allocations: 0.5156 kB / 1.1 GB, free: 11.88 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.14e-05/1.129, allocations: 4 kB / 1.1 GB, free: 11.88 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/1.129, allocations: 0 / 1.1 GB, free: 11.88 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/1.129, allocations: 0 / 1.1 GB, free: 11.88 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/1.129, allocations: 0 / 1.1 GB, free: 11.88 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/1.129, allocations: 8.484 kB / 1.1 GB, free: 11.87 MB / 0.7012 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001524/1.13, allocations: 83.58 kB / 1.1 GB, free: 11.77 MB / 0.7012 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000224/1.13, allocations: 463.1 kB / 1.101 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 8.302e-05/1.13, allocations: 77.11 kB / 1.101 GB, free: 11.21 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.51e-05/1.13, allocations: 0 / 1.101 GB, free: 11.21 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.971e-05/1.13, allocations: 8.688 kB / 1.101 GB, free: 11.2 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.549e-05/1.13, allocations: 3.984 kB / 1.101 GB, free: 11.2 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/1.13, allocations: 6.75 kB / 1.101 GB, free: 11.19 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.265e-05/1.13, allocations: 75.28 kB / 1.101 GB, free: 11.12 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001042/1.131, allocations: 11.91 kB / 1.101 GB, free: 11.11 MB / 0.7012 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.0001104/1.131, allocations: 95.25 kB / 1.101 GB, free: 11 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.000108/1.132, allocations: 20 kB / 1.101 GB, free: 10.98 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/1.132, allocations: 4 kB / 1.101 GB, free: 10.98 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 3.13e-05/1.132, allocations: 15.94 kB / 1.101 GB, free: 10.96 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/1.132, allocations: 12.59 kB / 1.101 GB, free: 10.95 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002997/1.132, allocations: 72.7 kB / 1.101 GB, free: 10.86 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001797/1.132, allocations: 0.6876 MB / 1.102 GB, free: 10.15 MB / 0.7012 GB Notification: Performance of SimCode: time 8.31e-07/1.132, allocations: 0 / 1.102 GB, free: 10.15 MB / 0.7012 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)