Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_TWetBul_TDryBulPhi",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.1/package.mo): time 2.422/2.422, allocations: 248.6 MB / 255.9 MB, free: 7.086 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00246/0.00246, allocations: 188.4 kB / 315.1 MB, free: 4.297 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.059/2.059, allocations: 205.1 MB / 0.5658 GB, free: 392 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001284/0.001284, allocations: 94.33 kB / 0.67 GB, free: 5.594 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4913/0.4926, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1961/0.6888, allocations: 106.2 MB / 0.8835 GB, free: 13.37 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.959/6.648, allocations: 2.192 GB / 3.075 GB, free: 177.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003859/6.649, allocations: 82.62 kB / 3.075 GB, free: 177.4 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.2903/6.939, allocations: 76.99 MB / 3.151 GB, free: 106.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/6.939, allocations: 12 kB / 3.151 GB, free: 106.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001469/6.941, allocations: 87.69 kB / 3.151 GB, free: 106.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003582/6.941, allocations: 230.8 kB / 3.151 GB, free: 106.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/6.941, allocations: 8 kB / 3.151 GB, free: 106.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.707e-05/6.941, allocations: 8 kB / 3.151 GB, free: 106.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004595/6.942, allocations: 132.6 kB / 3.151 GB, free: 106.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004405/6.942, allocations: 213.2 kB / 3.151 GB, free: 106 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/6.942, allocations: 0 / 3.151 GB, free: 106 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.446e-05/6.942, allocations: 0 / 3.151 GB, free: 106 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/6.942, allocations: 11.91 kB / 3.151 GB, free: 106 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002308/6.944, allocations: 0.9666 MB / 3.152 GB, free: 105 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004234/6.945, allocations: 150.4 kB / 3.152 GB, free: 104.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001594/6.945, allocations: 56.89 kB / 3.152 GB, free: 104.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.801e-05/6.945, allocations: 4.062 kB / 3.152 GB, free: 104.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/6.945, allocations: 30.56 kB / 3.152 GB, free: 104.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=11): time 2.895e-06/6.945, allocations: 0 / 3.152 GB, free: 104.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11): time 0.0005179/6.946, allocations: 133.5 kB / 3.153 GB, free: 104.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.811e-05/6.946, allocations: 55.41 kB / 3.153 GB, free: 104.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/6.946, allocations: 158.3 kB / 3.153 GB, free: 104.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/6.946, allocations: 25.7 kB / 3.153 GB, free: 104.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.634e-05/6.946, allocations: 135.9 kB / 3.153 GB, free: 104.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.971e-05/6.946, allocations: 35.67 kB / 3.153 GB, free: 104.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.587e-05/6.946, allocations: 0 / 3.153 GB, free: 104.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.711e-05/6.946, allocations: 326.8 kB / 3.153 GB, free: 103.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001632/6.946, allocations: 51.98 kB / 3.153 GB, free: 103.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002152/6.947, allocations: 110.8 kB / 3.153 GB, free: 103.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002067/6.947, allocations: 59.91 kB / 3.153 GB, free: 103.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/6.947, allocations: 0 / 3.153 GB, free: 103.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006013/6.947, allocations: 197.3 kB / 3.154 GB, free: 103.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/6.947, allocations: 4 kB / 3.154 GB, free: 103.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.689e-06/6.947, allocations: 4 kB / 3.154 GB, free: 103.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/6.947, allocations: 0 / 3.154 GB, free: 103.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006947/6.948, allocations: 59.94 kB / 3.154 GB, free: 103.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/6.948, allocations: 8.094 kB / 3.154 GB, free: 103.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006431/6.949, allocations: 31.83 kB / 3.154 GB, free: 103.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.169e-05/6.949, allocations: 7.984 kB / 3.154 GB, free: 103.3 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 0.0001117/6.949, allocations: 112.9 kB / 3.154 GB, free: 103.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.815e-05/6.949, allocations: 11.91 kB / 3.154 GB, free: 103.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008207/6.95, allocations: 250.6 kB / 3.154 GB, free: 102.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/6.95, allocations: 0 / 3.154 GB, free: 102.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/6.95, allocations: 0 / 3.154 GB, free: 102.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.281e-06/6.95, allocations: 4 kB / 3.154 GB, free: 102.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005948/6.951, allocations: 253.9 kB / 3.154 GB, free: 102.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.808e-06/6.951, allocations: 7.906 kB / 3.154 GB, free: 102.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00124/6.952, allocations: 47.95 kB / 3.154 GB, free: 102.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.146e-05/6.952, allocations: 4 kB / 3.154 GB, free: 102.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.96e-05/6.952, allocations: 0 / 3.154 GB, free: 102.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-05/6.952, allocations: 3.938 kB / 3.154 GB, free: 102.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/6.952, allocations: 0 / 3.154 GB, free: 102.5 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006493/6.953, allocations: 304 kB / 3.155 GB, free: 102.2 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006715/6.953, allocations: 0.6792 MB / 3.155 GB, free: 101.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.405e-05/6.954, allocations: 92.91 kB / 3.155 GB, free: 101.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.497e-05/6.954, allocations: 0 / 3.155 GB, free: 101.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005432/6.954, allocations: 19.98 kB / 3.156 GB, free: 101.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/6.954, allocations: 11.98 kB / 3.156 GB, free: 101.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.806e-05/6.954, allocations: 7.984 kB / 3.156 GB, free: 101.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0001992/6.955, allocations: 120.8 kB / 3.156 GB, free: 101.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001664/6.956, allocations: 163.8 kB / 3.156 GB, free: 101.1 MB / 0.8698 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 (23): * Single equations (assignments): 23 * 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.001165/6.958, allocations: 0.7849 MB / 3.157 GB, free: 100.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0005484/6.958, allocations: 152.2 kB / 3.157 GB, free: 100.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/6.958, allocations: 4 kB / 3.157 GB, free: 100.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002221/6.958, allocations: 95.86 kB / 3.157 GB, free: 100.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004773/6.959, allocations: 21.95 kB / 3.157 GB, free: 100 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009887/6.96, allocations: 256.5 kB / 3.157 GB, free: 99.76 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004248/6.96, allocations: 0.7747 MB / 3.158 GB, free: 98.96 MB / 0.8698 GB Notification: Performance of SimCode: time 1.112e-06/6.96, allocations: 0 / 3.158 GB, free: 98.96 MB / 0.8698 GB