Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.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.Examples.TotalAirDryAir,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir",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.728/2.728, allocations: 284.8 MB / 292.1 MB, free: 10.76 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.001642/0.001642, allocations: 181.2 kB / 360.3 MB, free: 7.539 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.781/1.781, allocations: 205.1 MB / 0.6187 GB, free: 13.22 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.001798/0.001798, allocations: 88.41 kB / 0.7317 GB, free: 45.09 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2704/0.2722, allocations: 121.4 MB / 0.8502 GB, free: 3.914 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6065/0.8787, allocations: 115.2 MB / 0.9627 GB, free: 78.41 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2239/1.103, allocations: 137.8 MB / 1.097 GB, free: 3.078 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/1.103, allocations: 78.25 kB / 1.097 GB, free: 3.004 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.01197/1.115, allocations: 2.403 MB / 1.1 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/1.115, allocations: 8.5 kB / 1.1 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.825e-05/1.115, allocations: 9.562 kB / 1.1 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/1.115, allocations: 175.7 kB / 1.1 GB, free: 404 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.583e-05/1.115, allocations: 34.28 kB / 1.1 GB, free: 364 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.502e-05/1.115, allocations: 4.688 kB / 1.1 GB, free: 360 kB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001079/1.116, allocations: 19.98 kB / 1.1 GB, free: 340 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001876/1.116, allocations: 54.23 kB / 1.1 GB, free: 284 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/1.116, allocations: 0.7188 kB / 1.1 GB, free: 284 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.975e-05/1.116, allocations: 0 / 1.1 GB, free: 284 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/1.116, allocations: 12.38 kB / 1.1 GB, free: 272 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007326/1.117, allocations: 287.8 kB / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.713e-05/1.117, allocations: 30.58 kB / 1.1 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.237e-05/1.117, allocations: 16.86 kB / 1.1 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/1.117, allocations: 4.516 kB / 1.1 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/1.117, allocations: 30.56 kB / 1.1 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.583e-06/1.117, allocations: 4 kB / 1.1 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0002147/1.117, allocations: 58.14 kB / 1.1 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/1.117, allocations: 55.41 kB / 1.1 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.11e-05/1.117, allocations: 99.66 kB / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/1.117, allocations: 25.7 kB / 1.101 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.486e-05/1.117, allocations: 84.12 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.579e-05/1.117, allocations: 19.75 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.481e-06/1.117, allocations: 0 / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001148/1.117, allocations: 310.8 kB / 1.101 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.091e-05/1.118, allocations: 12 kB / 1.101 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.393e-05/1.118, allocations: 25.7 kB / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.165e-05/1.118, allocations: 8 kB / 1.101 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/1.118, allocations: 0 / 1.101 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001487/1.118, allocations: 66.38 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/1.118, allocations: 5.406 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/1.118, allocations: 2.625 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/1.118, allocations: 4 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001908/1.118, allocations: 20.02 kB / 1.101 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/1.118, allocations: 0 / 1.101 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001292/1.118, allocations: 11.91 kB / 1.101 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/1.118, allocations: 0 / 1.101 GB, free: 15 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 9.425e-05/1.118, allocations: 116.8 kB / 1.101 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.337e-05/1.118, allocations: 3.906 kB / 1.101 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.162e-05/1.118, allocations: 13.31 kB / 1.101 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/1.118, allocations: 0.7031 kB / 1.101 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/1.119, allocations: 0 / 1.101 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/1.119, allocations: 3.938 kB / 1.101 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002046/1.119, allocations: 146.2 kB / 1.101 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/1.119, allocations: 3.906 kB / 1.101 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001458/1.119, allocations: 20 kB / 1.101 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/1.119, allocations: 3.938 kB / 1.101 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/1.119, allocations: 3.984 kB / 1.101 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/1.119, allocations: 0 / 1.101 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/1.119, allocations: 4 kB / 1.101 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001826/1.119, allocations: 148.1 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002921/1.119, allocations: 0.5195 MB / 1.102 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.084e-05/1.12, allocations: 85.14 kB / 1.102 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/1.12, allocations: 6.188 kB / 1.102 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002622/1.12, allocations: 15.98 kB / 1.102 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.188e-05/1.12, allocations: 4 kB / 1.102 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/1.12, allocations: 3.984 kB / 1.102 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.688e-05/1.12, allocations: 87.28 kB / 1.102 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00111/1.121, allocations: 11.94 kB / 1.102 GB, free: 13.71 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.0001392/1.121, allocations: 95.25 kB / 1.102 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001375/1.121, allocations: 28.64 kB / 1.102 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/1.121, allocations: 0 / 1.102 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.985e-05/1.121, allocations: 20 kB / 1.102 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002483/1.122, allocations: 5.516 kB / 1.102 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004058/1.122, allocations: 87.25 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003657/1.123, allocations: 0.6993 MB / 1.103 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of SimCode: time 1.002e-06/1.123, allocations: 0 / 1.103 GB, free: 12.73 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)