Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.405/1.405, allocations: 285.5 MB / 292.8 MB, free: 10.42 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.0009351/0.0009351, allocations: 181.3 kB / 361.1 MB, free: 7.09 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.172/1.172, allocations: 205.2 MB / 0.6195 GB, free: 10.38 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.0009426/0.0009427, allocations: 86.69 kB / 0.7326 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2339/0.2349, allocations: 121.4 MB / 0.8511 GB, free: 2.883 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5633/0.7983, allocations: 115.3 MB / 0.9638 GB, free: 78.39 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1537/0.952, allocations: 137.9 MB / 1.098 GB, free: 2.051 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001859/0.9523, allocations: 75.16 kB / 1.099 GB, free: 1.98 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.007137/0.9594, allocations: 2.408 MB / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.9595, allocations: 8.656 kB / 1.101 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.194e-05/0.9595, allocations: 4.609 kB / 1.101 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.9596, allocations: 168.1 kB / 1.101 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.074e-05/0.9597, allocations: 41.55 kB / 1.101 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.9597, allocations: 0 / 1.101 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.788e-05/0.9598, allocations: 24.61 kB / 1.101 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.9599, allocations: 55.16 kB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.9599, allocations: 4.5 kB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.96, allocations: 0 / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.922e-06/0.96, allocations: 3.906 kB / 1.101 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004703/0.9605, allocations: 277 kB / 1.101 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.958e-05/0.9605, allocations: 40.31 kB / 1.101 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.333e-05/0.9606, allocations: 17.83 kB / 1.101 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.098e-05/0.9606, allocations: 0 / 1.101 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.9606, allocations: 38.23 kB / 1.102 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 7.82e-07/0.9606, allocations: 0 / 1.102 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001512/0.9608, allocations: 50.12 kB / 1.102 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.424e-05/0.9608, allocations: 55.41 kB / 1.102 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.562e-05/0.9609, allocations: 102.9 kB / 1.102 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.9609, allocations: 25.7 kB / 1.102 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.212e-05/0.9609, allocations: 88.08 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.551e-05/0.961, allocations: 15.75 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-06/0.961, allocations: 0 / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.983e-05/0.9611, allocations: 322.8 kB / 1.102 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.129e-05/0.9611, allocations: 8 kB / 1.102 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.319e-05/0.9611, allocations: 24.28 kB / 1.102 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.338e-05/0.9612, allocations: 8 kB / 1.102 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.9612, allocations: 0 / 1.102 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.871e-05/0.9613, allocations: 62.2 kB / 1.102 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.9613, allocations: 4 kB / 1.102 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.9613, allocations: 3.938 kB / 1.102 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.9613, allocations: 0 / 1.102 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.9614, allocations: 19.98 kB / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.087e-06/0.9615, allocations: 4 kB / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.875e-05/0.9615, allocations: 19.92 kB / 1.102 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.9616, allocations: 0 / 1.102 GB, free: 13.98 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 6.658e-05/0.9616, allocations: 101.7 kB / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.337e-05/0.9617, allocations: 8.703 kB / 1.102 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.727e-05/0.9617, allocations: 4.938 kB / 1.102 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.9617, allocations: 0 / 1.102 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.9617, allocations: 0 / 1.102 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.478e-05/0.9617, allocations: 3.984 kB / 1.102 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001598/0.9619, allocations: 158.3 kB / 1.103 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.9619, allocations: 7.844 kB / 1.103 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.703e-05/0.962, allocations: 15.98 kB / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.962, allocations: 0 / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.575e-06/0.962, allocations: 0.5156 kB / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-06/0.962, allocations: 0 / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.962, allocations: 1.219 kB / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001309/0.9622, allocations: 155.4 kB / 1.103 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002268/0.9624, allocations: 0.5215 MB / 1.103 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.783e-05/0.9624, allocations: 77.62 kB / 1.103 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.9625, allocations: 7.891 kB / 1.103 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001481/0.9626, allocations: 19.98 kB / 1.103 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.817e-05/0.9626, allocations: 0 / 1.103 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.9627, allocations: 4 kB / 1.103 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.541e-05/0.9627, allocations: 87.27 kB / 1.103 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007603/0.9635, allocations: 11.94 kB / 1.103 GB, free: 12.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 9.78e-05/0.9636, allocations: 103 kB / 1.104 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.879e-05/0.9637, allocations: 28.98 kB / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.9637, allocations: 0 / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.55e-05/0.9637, allocations: 19.75 kB / 1.104 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001553/0.9639, allocations: 2.188 kB / 1.104 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002236/0.9641, allocations: 88.61 kB / 1.104 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002569/0.9644, allocations: 0.6954 MB / 1.104 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of SimCode: time 2.81e-07/0.9644, allocations: 4.062 kB / 1.104 GB, free: 11.72 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)