Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterConstantProperties_pT.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.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterConstantProperties_pT,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedWaterConstantProperties_pT",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.397/2.397, allocations: 248.6 MB / 255.9 MB, free: 7.09 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.00158/0.001579, allocations: 181.2 kB / 315.1 MB, free: 4.293 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.044/2.044, allocations: 205.1 MB / 0.5658 GB, free: 408 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.002355/0.002355, allocations: 83.34 kB / 0.67 GB, free: 5.598 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.502/0.5044, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2093/0.7138, allocations: 106.3 MB / 0.8835 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.502/2.216, allocations: 450.1 MB / 1.323 GB, free: 246.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005849/2.217, allocations: 89.28 kB / 1.323 GB, free: 246.1 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 2.286/4.503, allocations: 496.2 MB / 1.808 GB, free: 129.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/4.503, allocations: 8 kB / 1.808 GB, free: 129.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005698/4.503, allocations: 83.14 kB / 1.808 GB, free: 129.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1929/4.696, allocations: 40.61 MB / 1.847 GB, free: 89.05 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.337e-05/4.697, allocations: 12 kB / 1.847 GB, free: 89.04 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/4.697, allocations: 28 kB / 1.847 GB, free: 89.01 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001229/4.698, allocations: 269.9 kB / 1.848 GB, free: 88.74 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009002/4.699, allocations: 422.2 kB / 1.848 GB, free: 88.29 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.569e-05/4.699, allocations: 0 / 1.848 GB, free: 88.29 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.919e-05/4.699, allocations: 3.906 kB / 1.848 GB, free: 88.29 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.238e-05/4.699, allocations: 19.94 kB / 1.848 GB, free: 88.27 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003988/4.703, allocations: 2.646 MB / 1.851 GB, free: 85.43 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003927/4.703, allocations: 134.1 kB / 1.851 GB, free: 85.29 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001916/4.704, allocations: 85.22 kB / 1.851 GB, free: 85.21 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003779/4.704, allocations: 340.6 kB / 1.851 GB, free: 84.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/4.704, allocations: 34.75 kB / 1.851 GB, free: 84.76 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=21): time 4.278e-06/4.704, allocations: 0 / 1.851 GB, free: 84.76 MB / 0.8698 GB Notification: Performance of matching and sorting (n=21): time 0.0008562/4.705, allocations: 228.4 kB / 1.851 GB, free: 84.53 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.624e-05/4.705, allocations: 67.34 kB / 1.852 GB, free: 84.45 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007265/4.706, allocations: 434.1 kB / 1.852 GB, free: 84.02 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.327e-05/4.706, allocations: 25.7 kB / 1.852 GB, free: 83.99 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/4.706, allocations: 271.3 kB / 1.852 GB, free: 83.72 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 8.991e-05/4.706, allocations: 82.84 kB / 1.852 GB, free: 83.64 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.858e-05/4.706, allocations: 0 / 1.852 GB, free: 83.64 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001016/4.706, allocations: 358.8 kB / 1.853 GB, free: 83.28 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/4.706, allocations: 75.94 kB / 1.853 GB, free: 83.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000266/4.707, allocations: 228.2 kB / 1.853 GB, free: 82.91 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004139/4.707, allocations: 123.9 kB / 1.853 GB, free: 82.79 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/4.707, allocations: 4 kB / 1.853 GB, free: 82.79 MB / 0.8698 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009219/4.708, allocations: 344.5 kB / 1.853 GB, free: 82.45 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003711/4.708, allocations: 1.653 MB / 1.855 GB, free: 80.66 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.612e-05/4.709, allocations: 4 kB / 1.855 GB, free: 80.66 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.592e-05/4.709, allocations: 8.047 kB / 1.855 GB, free: 80.65 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005389/4.709, allocations: 83.81 kB / 1.855 GB, free: 80.57 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/4.709, allocations: 8 kB / 1.855 GB, free: 80.56 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008233/4.71, allocations: 47.58 kB / 1.855 GB, free: 80.52 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.707e-05/4.71, allocations: 19.98 kB / 1.855 GB, free: 80.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/4.71, allocations: 4 kB / 1.855 GB, free: 80.49 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007362/4.711, allocations: 263.5 kB / 1.855 GB, free: 80.23 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/4.711, allocations: 4 kB / 1.855 GB, free: 80.23 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/4.711, allocations: 8 kB / 1.855 GB, free: 80.22 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004413/4.711, allocations: 67.91 kB / 1.856 GB, free: 80.16 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.208e-06/4.711, allocations: 16.48 kB / 1.856 GB, free: 80.14 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006995/4.712, allocations: 43.67 kB / 1.856 GB, free: 80.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.026e-05/4.712, allocations: 16 kB / 1.856 GB, free: 80.08 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0001481/4.712, allocations: 119.7 kB / 1.856 GB, free: 79.96 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001454/4.712, allocations: 63.34 kB / 1.856 GB, free: 79.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008887/4.713, allocations: 263.1 kB / 1.856 GB, free: 79.64 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/4.713, allocations: 0 / 1.856 GB, free: 79.64 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/4.713, allocations: 0 / 1.856 GB, free: 79.64 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000494/4.714, allocations: 361.4 kB / 1.856 GB, free: 79.23 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001925/4.716, allocations: 0.9347 MB / 1.857 GB, free: 78.22 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/4.716, allocations: 4 kB / 1.857 GB, free: 78.21 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004153/4.716, allocations: 47.92 kB / 1.857 GB, free: 78.17 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.318e-06/4.716, allocations: 4.25 kB / 1.857 GB, free: 78.16 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.609e-05/4.716, allocations: 15.92 kB / 1.857 GB, free: 78.15 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/4.716, allocations: 0 / 1.857 GB, free: 78.15 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/4.716, allocations: 8 kB / 1.857 GB, free: 78.14 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000913/4.717, allocations: 0.5836 MB / 1.858 GB, free: 77.47 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001222/4.718, allocations: 1.093 MB / 1.859 GB, free: 76.29 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003488/4.719, allocations: 172.3 kB / 1.859 GB, free: 76.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/4.719, allocations: 7.984 kB / 1.859 GB, free: 76.09 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006563/4.72, allocations: 27.98 kB / 1.859 GB, free: 76.06 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.03e-05/4.72, allocations: 19.89 kB / 1.859 GB, free: 76.04 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.199e-05/4.72, allocations: 15.98 kB / 1.859 GB, free: 76.03 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0005824/4.72, allocations: 330.9 kB / 1.86 GB, free: 75.71 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003576/4.724, allocations: 463 kB / 1.86 GB, free: 75.25 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (vol.dynBal.U,vol1.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001101/4.725, allocations: 433.5 kB / 1.86 GB, free: 74.86 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0009108/4.726, allocations: 373.2 kB / 1.861 GB, free: 74.49 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/4.726, allocations: 4 kB / 1.861 GB, free: 74.49 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001881/4.726, allocations: 95.92 kB / 1.861 GB, free: 74.39 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002896/4.729, allocations: 306.1 kB / 1.861 GB, free: 74.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002103/4.731, allocations: 0.8194 MB / 1.862 GB, free: 73.23 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000625/4.732, allocations: 0.9646 MB / 1.863 GB, free: 72.24 MB / 0.8698 GB Notification: Performance of SimCode: time 1.463e-06/4.732, allocations: 0 / 1.863 GB, free: 72.24 MB / 0.8698 GB