Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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_TDewPoi,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",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.643/1.643, allocations: 289.8 MB / 297 MB, free: 6.66 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.001575/0.001575, allocations: 181.3 kB / 366.3 MB, free: 1.996 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.527/1.527, allocations: 205.2 MB / 0.6256 GB, free: 5.816 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.000923/0.0009231, allocations: 87.09 kB / 0.7395 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3042/0.3052, allocations: 122.4 MB / 0.8591 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6893/0.9946, allocations: 116.3 MB / 0.9726 GB, free: 68.61 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1682/1.163, allocations: 139.6 MB / 1.109 GB, free: 8.949 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002126/1.163, allocations: 76.67 kB / 1.109 GB, free: 8.875 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.01877/1.182, allocations: 6.156 MB / 1.115 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/1.182, allocations: 8 kB / 1.115 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001749/1.182, allocations: 7.984 kB / 1.115 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/1.182, allocations: 178.9 kB / 1.115 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/1.182, allocations: 0 / 1.115 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.261e-05/1.182, allocations: 0 / 1.115 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.08e-05/1.182, allocations: 12.75 kB / 1.115 GB, free: 2.453 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.286e-05/1.182, allocations: 41.69 kB / 1.115 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/1.182, allocations: 0 / 1.115 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/1.182, allocations: 3.938 kB / 1.115 GB, free: 2.402 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/1.183, allocations: 3.984 kB / 1.115 GB, free: 2.398 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001524/1.183, allocations: 134.2 kB / 1.115 GB, free: 2.23 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008715/1.184, allocations: 126.5 kB / 1.116 GB, free: 2.098 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.868e-05/1.184, allocations: 24.91 kB / 1.116 GB, free: 2.07 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001194/1.184, allocations: 82.14 kB / 1.116 GB, free: 1.973 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/1.184, allocations: 38.64 kB / 1.116 GB, free: 1.926 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/1.184, allocations: 0 / 1.116 GB, free: 1.926 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001793/1.184, allocations: 49.69 kB / 1.116 GB, free: 1.871 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/1.184, allocations: 55.34 kB / 1.116 GB, free: 1.805 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.38e-05/1.184, allocations: 96.94 kB / 1.116 GB, free: 1.703 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/1.184, allocations: 25.7 kB / 1.116 GB, free: 1.672 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.868e-05/1.184, allocations: 80.14 kB / 1.116 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.78e-05/1.184, allocations: 11.94 kB / 1.116 GB, free: 1.578 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.579e-06/1.184, allocations: 0 / 1.116 GB, free: 1.578 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001125/1.184, allocations: 314.8 kB / 1.116 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.862e-05/1.184, allocations: 12.56 kB / 1.116 GB, free: 1.25 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.674e-05/1.184, allocations: 8 kB / 1.116 GB, free: 1.242 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.521e-05/1.184, allocations: 7.984 kB / 1.116 GB, free: 1.234 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/1.184, allocations: 3.906 kB / 1.116 GB, free: 1.23 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001058/1.185, allocations: 57.69 kB / 1.116 GB, free: 1.168 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/1.185, allocations: 4 kB / 1.116 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/1.185, allocations: 0.8438 kB / 1.116 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/1.185, allocations: 4 kB / 1.116 GB, free: 1.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.158e-05/1.185, allocations: 7.984 kB / 1.116 GB, free: 1.152 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/1.185, allocations: 7.938 kB / 1.116 GB, free: 1.145 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.035e-05/1.185, allocations: 0 / 1.116 GB, free: 1.145 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/1.185, allocations: 0 / 1.116 GB, free: 1.145 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 7.405e-05/1.185, allocations: 104.9 kB / 1.117 GB, free: 1.035 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.082e-05/1.185, allocations: 4 kB / 1.117 GB, free: 1.031 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002735/1.185, allocations: 82.59 kB / 1.117 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/1.185, allocations: 4 kB / 1.117 GB, free: 0.9336 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/1.185, allocations: 64 / 1.117 GB, free: 0.9336 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/1.185, allocations: 7.906 kB / 1.117 GB, free: 0.9258 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001006/1.185, allocations: 142.2 kB / 1.117 GB, free: 0.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/1.185, allocations: 0 / 1.117 GB, free: 0.75 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.399e-05/1.185, allocations: 4.938 kB / 1.117 GB, free: 0.7461 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/1.185, allocations: 4 kB / 1.117 GB, free: 0.7422 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/1.185, allocations: 0 / 1.117 GB, free: 0.7422 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/1.185, allocations: 3.938 kB / 1.117 GB, free: 0.7383 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/1.185, allocations: 0 / 1.117 GB, free: 0.7383 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001262/1.185, allocations: 89.02 kB / 1.117 GB, free: 0.6328 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002726/1.186, allocations: 469.4 kB / 1.117 GB, free: 156 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.59e-05/1.186, allocations: 81.09 kB / 1.117 GB, free: 56 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/1.186, allocations: 0 / 1.117 GB, free: 56 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.95e-05/1.186, allocations: 11.94 kB / 1.117 GB, free: 44 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.435e-05/1.186, allocations: 13.69 kB / 1.117 GB, free: 32 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/1.186, allocations: 4 kB / 1.117 GB, free: 28 kB / 0.7136 GB Notification: Performance of sort global known variables: time 3.806e-05/1.186, allocations: 79.22 kB / 1.117 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000806/1.187, allocations: 55.92 kB / 1.118 GB, free: 15.89 MB / 0.7292 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 (5): * Single equations (assignments): 5 * 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.0003865/1.187, allocations: 168.2 kB / 1.118 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.646e-05/1.187, allocations: 20 kB / 1.118 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/1.187, allocations: 4.094 kB / 1.118 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.654e-05/1.187, allocations: 23.92 kB / 1.118 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001285/1.187, allocations: 6.391 kB / 1.118 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002541/1.188, allocations: 60.2 kB / 1.118 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002727/1.188, allocations: 0.6954 MB / 1.118 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of SimCode: time 3.9e-07/1.188, allocations: 0 / 1.118 GB, free: 14.87 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1)