Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.h_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.h_TDryBulPhi,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_h_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.301/2.301, allocations: 248.6 MB / 255.9 MB, free: 7.133 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.001719/0.001719, allocations: 178.9 kB / 315.1 MB, free: 4.25 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.012/2.012, allocations: 205.1 MB / 0.5658 GB, free: 292 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.001769/0.001768, allocations: 83.33 kB / 0.67 GB, free: 5.492 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5414/0.5432, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.7724, allocations: 106.2 MB / 0.8835 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6786/1.451, allocations: 133.2 MB / 1.014 GB, free: 6.957 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002728/1.451, allocations: 72.2 kB / 1.014 GB, free: 6.918 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.01239/1.464, allocations: 2.324 MB / 1.016 GB, free: 4.848 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/1.464, allocations: 8 kB / 1.016 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000663/1.465, allocations: 39.8 kB / 1.016 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/1.465, allocations: 171 kB / 1.016 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/1.465, allocations: 0 / 1.016 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.627e-05/1.465, allocations: 4 kB / 1.016 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002022/1.465, allocations: 49.58 kB / 1.016 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/1.465, allocations: 60.59 kB / 1.016 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-06/1.465, allocations: 0 / 1.016 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/1.465, allocations: 1.125 kB / 1.016 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/1.465, allocations: 0 / 1.016 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001194/1.466, allocations: 333 kB / 1.017 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003287/1.467, allocations: 57.31 kB / 1.017 GB, free: 4.109 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.582e-05/1.467, allocations: 19.86 kB / 1.017 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/1.467, allocations: 4 kB / 1.017 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/1.467, allocations: 33.12 kB / 1.017 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 2.415e-06/1.467, allocations: 0 / 1.017 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002958/1.467, allocations: 64.11 kB / 1.017 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/1.467, allocations: 57.86 kB / 1.017 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/1.468, allocations: 96.88 kB / 1.017 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/1.468, allocations: 25.7 kB / 1.017 GB, free: 3.797 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.466e-05/1.468, allocations: 103.8 kB / 1.017 GB, free: 3.691 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.074e-05/1.468, allocations: 11.78 kB / 1.017 GB, free: 3.684 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.049e-05/1.468, allocations: 0 / 1.017 GB, free: 3.684 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001389/1.468, allocations: 314.8 kB / 1.017 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.856e-05/1.468, allocations: 19.17 kB / 1.017 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.629e-05/1.468, allocations: 11.69 kB / 1.017 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.476e-05/1.468, allocations: 14.69 kB / 1.017 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/1.468, allocations: 0 / 1.017 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002969/1.468, allocations: 64.8 kB / 1.017 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/1.468, allocations: 4 kB / 1.017 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/1.468, allocations: 8 kB / 1.017 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.19e-05/1.468, allocations: 0 / 1.017 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003879/1.469, allocations: 23.91 kB / 1.017 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/1.469, allocations: 4 kB / 1.017 GB, free: 3.242 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002228/1.469, allocations: 19.89 kB / 1.017 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/1.469, allocations: 0 / 1.017 GB, free: 3.223 MB / 0.6355 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 (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 0.0001015/1.469, allocations: 101 kB / 1.018 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.82e-05/1.469, allocations: 8.781 kB / 1.018 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.215e-05/1.469, allocations: 7.688 kB / 1.018 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/1.469, allocations: 0 / 1.018 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/1.469, allocations: 3.938 kB / 1.018 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.136e-06/1.469, allocations: 12.02 kB / 1.018 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002427/1.47, allocations: 152.8 kB / 1.018 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.708e-06/1.47, allocations: 7.984 kB / 1.018 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002598/1.47, allocations: 23.05 kB / 1.018 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/1.47, allocations: 0 / 1.018 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/1.47, allocations: 0 / 1.018 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/1.47, allocations: 0 / 1.018 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/1.47, allocations: 0 / 1.018 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002683/1.47, allocations: 165.7 kB / 1.018 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003911/1.471, allocations: 0.5333 MB / 1.018 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.416e-05/1.471, allocations: 77.11 kB / 1.018 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.88e-05/1.471, allocations: 0 / 1.018 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002609/1.471, allocations: 19.89 kB / 1.018 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.32e-05/1.471, allocations: 4 kB / 1.018 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/1.471, allocations: 0 / 1.018 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.742e-05/1.471, allocations: 86.39 kB / 1.019 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00123/1.472, allocations: 20 kB / 1.019 GB, free: 1.953 MB / 0.6355 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.0002522/1.473, allocations: 118.7 kB / 1.019 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001912/1.473, allocations: 42.86 kB / 1.019 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.473, allocations: 0 / 1.019 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.488e-05/1.473, allocations: 11.44 kB / 1.019 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/1.473, allocations: 20.58 kB / 1.019 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005877/1.474, allocations: 98.89 kB / 1.019 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005536/1.475, allocations: 0.7069 MB / 1.02 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of SimCode: time 9.02e-07/1.475, allocations: 4 kB / 1.02 GB, free: 0.9297 MB / 0.6355 GB