Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.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.pW_X,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.687/1.687, allocations: 289.8 MB / 297.1 MB, free: 6.703 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.001202/0.001203, allocations: 177.3 kB / 366.3 MB, free: 2.012 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.638/1.638, allocations: 205.1 MB / 0.6256 GB, free: 5.859 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.001087/0.001087, allocations: 81.94 kB / 0.7395 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.309/0.3101, allocations: 122.4 MB / 0.8591 GB, free: 13.31 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7492/1.059, allocations: 116.3 MB / 0.9726 GB, free: 68.38 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1722/1.232, allocations: 138.4 MB / 1.108 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002599/1.232, allocations: 76.7 kB / 1.108 GB, free: 10.01 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.004612/1.237, allocations: 1.498 MB / 1.109 GB, free: 8.484 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/1.237, allocations: 8 kB / 1.109 GB, free: 8.477 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002117/1.237, allocations: 19.97 kB / 1.109 GB, free: 8.457 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/1.237, allocations: 166.9 kB / 1.11 GB, free: 8.254 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/1.237, allocations: 0 / 1.11 GB, free: 8.254 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.488e-06/1.237, allocations: 4 kB / 1.11 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.07e-05/1.237, allocations: 15.98 kB / 1.11 GB, free: 8.234 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.542e-05/1.237, allocations: 33.7 kB / 1.11 GB, free: 8.195 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/1.237, allocations: 8 kB / 1.11 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/1.237, allocations: 3.984 kB / 1.11 GB, free: 8.184 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/1.237, allocations: 0 / 1.11 GB, free: 8.184 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001518/1.237, allocations: 134.2 kB / 1.11 GB, free: 8.016 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00195/1.239, allocations: 274.4 kB / 1.11 GB, free: 7.738 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.24e-05/1.239, allocations: 19.11 kB / 1.11 GB, free: 7.719 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/1.239, allocations: 4 kB / 1.11 GB, free: 7.715 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/1.239, allocations: 38.56 kB / 1.11 GB, free: 7.668 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/1.239, allocations: 0 / 1.11 GB, free: 7.668 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001422/1.24, allocations: 49.78 kB / 1.11 GB, free: 7.613 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.373e-05/1.24, allocations: 51.41 kB / 1.11 GB, free: 7.551 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.827e-05/1.24, allocations: 85 kB / 1.11 GB, free: 7.461 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/1.24, allocations: 25.7 kB / 1.11 GB, free: 7.43 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.527e-05/1.24, allocations: 88.2 kB / 1.11 GB, free: 7.34 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.083e-05/1.24, allocations: 19.75 kB / 1.11 GB, free: 7.32 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-06/1.24, allocations: 0 / 1.11 GB, free: 7.32 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.272e-05/1.24, allocations: 314.8 kB / 1.111 GB, free: 7.004 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.731e-05/1.24, allocations: 8 kB / 1.111 GB, free: 6.996 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.496e-05/1.24, allocations: 7.938 kB / 1.111 GB, free: 6.988 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.077e-05/1.24, allocations: 8 kB / 1.111 GB, free: 6.98 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/1.24, allocations: 3.906 kB / 1.111 GB, free: 6.977 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.431e-05/1.24, allocations: 53.83 kB / 1.111 GB, free: 6.918 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/1.24, allocations: 8 kB / 1.111 GB, free: 6.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.768e-06/1.24, allocations: 0 / 1.111 GB, free: 6.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/1.24, allocations: 8.031 kB / 1.111 GB, free: 6.902 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.945e-05/1.24, allocations: 4 kB / 1.111 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/1.24, allocations: 0 / 1.111 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.832e-05/1.24, allocations: 0 / 1.111 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/1.24, allocations: 3.984 kB / 1.111 GB, free: 6.895 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 6.371e-05/1.24, allocations: 110.6 kB / 1.111 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.697e-06/1.24, allocations: 0 / 1.111 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.825e-05/1.24, allocations: 11.53 kB / 1.111 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/1.24, allocations: 0 / 1.111 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/1.24, allocations: 4 kB / 1.111 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/1.24, allocations: 0 / 1.111 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001033/1.241, allocations: 134.1 kB / 1.111 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/1.241, allocations: 3.938 kB / 1.111 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.697e-05/1.241, allocations: 4 kB / 1.111 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/1.241, allocations: 0 / 1.111 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/1.241, allocations: 0 / 1.111 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/1.241, allocations: 0 / 1.111 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/1.241, allocations: 4 kB / 1.111 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.812e-05/1.241, allocations: 83.62 kB / 1.111 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002293/1.241, allocations: 461.4 kB / 1.112 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.189e-05/1.241, allocations: 81.09 kB / 1.112 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/1.241, allocations: 0 / 1.112 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.489e-05/1.241, allocations: 4 kB / 1.112 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.242e-05/1.241, allocations: 9.719 kB / 1.112 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.93e-06/1.241, allocations: 0 / 1.112 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.216e-05/1.241, allocations: 79.27 kB / 1.112 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007947/1.242, allocations: 11.91 kB / 1.112 GB, free: 5.809 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.0001117/1.242, allocations: 95.25 kB / 1.112 GB, free: 5.703 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.557e-05/1.242, allocations: 24 kB / 1.112 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/1.242, allocations: 0 / 1.112 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.138e-05/1.242, allocations: 20.03 kB / 1.112 GB, free: 5.66 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001644/1.242, allocations: 7.984 kB / 1.112 GB, free: 5.652 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002316/1.243, allocations: 70.41 kB / 1.112 GB, free: 5.562 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003458/1.243, allocations: 0.6876 MB / 1.113 GB, free: 4.852 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/1.243, allocations: 0 / 1.113 GB, free: 4.852 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)