Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.269/1.269, allocations: 249.4 MB / 256.7 MB, free: 7.723 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001076/0.001076, allocations: 181.2 kB / 316 MB, free: 7.926 MB / 254.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.219/1.219, allocations: 205.1 MB / 0.5667 GB, free: 3.328 MB / 414.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009068/0.0009067, allocations: 93.34 kB / 0.671 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.342/0.3429, allocations: 112.5 MB / 0.7808 GB, free: 106.7 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.5062, allocations: 106.3 MB / 0.8847 GB, free: 264 kB / 0.545 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4706/0.9768, allocations: 133.3 MB / 1.015 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002046/0.9771, allocations: 86.56 kB / 1.015 GB, free: 11.35 MB / 0.6387 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.01835/0.9954, allocations: 6.147 MB / 1.021 GB, free: 6.18 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.9955, allocations: 8 kB / 1.021 GB, free: 6.172 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001756/0.9957, allocations: 7.984 kB / 1.021 GB, free: 6.164 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.9958, allocations: 167 kB / 1.021 GB, free: 5.961 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.9958, allocations: 0 / 1.021 GB, free: 5.961 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.916e-06/0.9958, allocations: 4 kB / 1.021 GB, free: 5.957 MB / 0.6387 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.617e-05/0.9959, allocations: 22.89 kB / 1.021 GB, free: 5.938 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.185e-05/0.996, allocations: 45.5 kB / 1.021 GB, free: 5.891 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.9961, allocations: 0 / 1.021 GB, free: 5.891 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.9961, allocations: 0 / 1.021 GB, free: 5.891 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.9961, allocations: 1.031 kB / 1.021 GB, free: 5.891 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001442/0.9962, allocations: 133.7 kB / 1.021 GB, free: 5.727 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008722/0.9971, allocations: 125.3 kB / 1.021 GB, free: 5.602 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.823e-05/0.9972, allocations: 19.92 kB / 1.021 GB, free: 5.586 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001132/0.9973, allocations: 85.19 kB / 1.022 GB, free: 5.484 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.9973, allocations: 34.56 kB / 1.022 GB, free: 5.441 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=4): time 3.496e-06/0.9973, allocations: 0 / 1.022 GB, free: 5.441 MB / 0.6387 GB Notification: Performance of matching and sorting (n=4): time 0.0001692/0.9975, allocations: 56.97 kB / 1.022 GB, free: 5.383 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.578e-05/0.9975, allocations: 58.84 kB / 1.022 GB, free: 5.316 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.562e-05/0.9976, allocations: 85 kB / 1.022 GB, free: 5.227 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.705e-05/0.9976, allocations: 25.7 kB / 1.022 GB, free: 5.195 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 2.422e-05/0.9977, allocations: 84.08 kB / 1.022 GB, free: 5.109 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.775e-05/0.9977, allocations: 15.8 kB / 1.022 GB, free: 5.094 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-06/0.9977, allocations: 0 / 1.022 GB, free: 5.094 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.35e-05/0.9978, allocations: 313.9 kB / 1.022 GB, free: 4.781 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.571e-05/0.9978, allocations: 4 kB / 1.022 GB, free: 4.777 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.345e-05/0.9978, allocations: 11.44 kB / 1.022 GB, free: 4.77 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.161e-05/0.9979, allocations: 15.42 kB / 1.022 GB, free: 4.758 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.9979, allocations: 0 / 1.022 GB, free: 4.758 MB / 0.6387 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001107/0.998, allocations: 53.56 kB / 1.022 GB, free: 4.703 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.998, allocations: 7.938 kB / 1.022 GB, free: 4.695 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.998, allocations: 3.984 kB / 1.022 GB, free: 4.691 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.9981, allocations: 4 kB / 1.022 GB, free: 4.688 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.244e-05/0.9981, allocations: 7.906 kB / 1.022 GB, free: 4.68 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.9981, allocations: 0 / 1.022 GB, free: 4.68 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.195e-05/0.9982, allocations: 4 kB / 1.022 GB, free: 4.676 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.425e-06/0.9982, allocations: 8 kB / 1.022 GB, free: 4.668 MB / 0.6387 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.554e-05/0.9983, allocations: 104.5 kB / 1.022 GB, free: 4.562 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.197e-05/0.9983, allocations: 3.906 kB / 1.022 GB, free: 4.559 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002719/0.9986, allocations: 78.75 kB / 1.022 GB, free: 4.484 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.9986, allocations: 4 kB / 1.022 GB, free: 4.48 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.9986, allocations: 192 / 1.022 GB, free: 4.48 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.9986, allocations: 3.938 kB / 1.022 GB, free: 4.477 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001041/0.9987, allocations: 142 kB / 1.023 GB, free: 4.305 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.9987, allocations: 3.906 kB / 1.023 GB, free: 4.301 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.912e-05/0.9988, allocations: 12 kB / 1.023 GB, free: 4.289 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.9988, allocations: 0 / 1.023 GB, free: 4.289 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.9988, allocations: 3.984 kB / 1.023 GB, free: 4.285 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.9988, allocations: 0 / 1.023 GB, free: 4.285 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.9988, allocations: 4 kB / 1.023 GB, free: 4.281 MB / 0.6387 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001702/0.999, allocations: 83.16 kB / 1.023 GB, free: 4.191 MB / 0.6387 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002798/0.9993, allocations: 471 kB / 1.023 GB, free: 3.723 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 5.391e-05/0.9994, allocations: 85.02 kB / 1.023 GB, free: 3.621 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.9994, allocations: 3.938 kB / 1.023 GB, free: 3.617 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.952e-05/0.9994, allocations: 4 kB / 1.023 GB, free: 3.613 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.774e-05/0.9995, allocations: 7.984 kB / 1.023 GB, free: 3.605 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.9995, allocations: 192 / 1.023 GB, free: 3.605 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.257e-05/0.9995, allocations: 75.28 kB / 1.023 GB, free: 3.531 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008023/1, allocations: 59.88 kB / 1.023 GB, free: 3.477 MB / 0.6387 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.0003574/1.001, allocations: 173.4 kB / 1.024 GB, free: 3.301 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 7.772e-05/1.001, allocations: 26.92 kB / 1.024 GB, free: 3.281 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/1.001, allocations: 0 / 1.024 GB, free: 3.281 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 2.595e-05/1.001, allocations: 18.19 kB / 1.024 GB, free: 3.27 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001119/1.001, allocations: 8.453 kB / 1.024 GB, free: 3.262 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002667/1.001, allocations: 66.62 kB / 1.024 GB, free: 3.176 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002394/1.001, allocations: 0.6876 MB / 1.024 GB, free: 2.465 MB / 0.6387 GB Notification: Performance of SimCode: time 2.51e-07/1.001, allocations: 0 / 1.024 GB, free: 2.465 MB / 0.6387 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1)