Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.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.CoupledVolumesSpecializedWaterTemperatureDependentDensity,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedWaterTemperatureDependentDensity",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.19/2.19, allocations: 248.6 MB / 255.9 MB, free: 7.199 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.001631/0.001631, allocations: 183.6 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 1.917/1.917, allocations: 205.1 MB / 0.5658 GB, free: 400 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.001888/0.001888, allocations: 86.53 kB / 0.67 GB, free: 5.609 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5113/0.5133, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.734, allocations: 106.2 MB / 0.8835 GB, free: 13.39 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.73/2.464, allocations: 0.5948 GB / 1.478 GB, free: 82.09 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002913/2.464, allocations: 87.81 kB / 1.478 GB, free: 82.05 MB / 0.8542 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 1.04/3.505, allocations: 162.1 MB / 1.637 GB, free: 229 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/3.505, allocations: 11.69 kB / 1.637 GB, free: 229 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0046/3.51, allocations: 305.7 kB / 1.637 GB, free: 228.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002328/3.512, allocations: 0.6789 MB / 1.638 GB, free: 228.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.802e-05/3.512, allocations: 14.72 kB / 1.638 GB, free: 228.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001008/3.512, allocations: 26.12 kB / 1.638 GB, free: 228.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000911/3.513, allocations: 292.1 kB / 1.638 GB, free: 228.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/3.514, allocations: 450.2 kB / 1.638 GB, free: 228.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.53e-05/3.514, allocations: 0 / 1.638 GB, free: 228.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.759e-05/3.514, allocations: 3.688 kB / 1.638 GB, free: 228.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.88e-05/3.514, allocations: 11.5 kB / 1.638 GB, free: 228.5 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004242/3.518, allocations: 2.742 MB / 1.641 GB, free: 226.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004448/3.519, allocations: 193.2 kB / 1.641 GB, free: 226.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003229/3.519, allocations: 127.1 kB / 1.641 GB, free: 226.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005583/3.52, allocations: 0.6616 MB / 1.642 GB, free: 225.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/3.52, allocations: 50.39 kB / 1.642 GB, free: 225.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=28): time 3.327e-06/3.52, allocations: 0 / 1.642 GB, free: 225.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=40): time 0.009074/3.529, allocations: 1.655 MB / 1.644 GB, free: 225.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/3.529, allocations: 80.98 kB / 1.644 GB, free: 225.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008108/3.53, allocations: 402.1 kB / 1.644 GB, free: 225.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 9.734e-05/3.53, allocations: 25.7 kB / 1.644 GB, free: 225.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/3.53, allocations: 247.5 kB / 1.644 GB, free: 224.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001676/3.53, allocations: 135.4 kB / 1.645 GB, free: 224.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.999e-05/3.53, allocations: 0 / 1.645 GB, free: 224.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001151/3.531, allocations: 365.7 kB / 1.645 GB, free: 224.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003727/3.531, allocations: 144.8 kB / 1.645 GB, free: 224.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004586/3.531, allocations: 271.4 kB / 1.645 GB, free: 224.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000735/3.532, allocations: 208.3 kB / 1.645 GB, free: 224.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/3.532, allocations: 0 / 1.645 GB, free: 224.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00286/3.535, allocations: 0.6658 MB / 1.646 GB, free: 224.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003268/3.535, allocations: 1.229 MB / 1.647 GB, free: 223 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/3.535, allocations: 3.906 kB / 1.647 GB, free: 223 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001634/3.537, allocations: 261.4 kB / 1.648 GB, free: 223 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006294/3.538, allocations: 69.11 kB / 1.648 GB, free: 223 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007977/3.546, allocations: 3.846 MB / 1.651 GB, free: 220.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00229/3.548, allocations: 77.16 kB / 1.651 GB, free: 220.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.56e-05/3.548, allocations: 22.5 kB / 1.652 GB, free: 220.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/3.548, allocations: 3.875 kB / 1.652 GB, free: 220.4 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00266/3.551, allocations: 0.5845 MB / 1.652 GB, free: 220.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-05/3.551, allocations: 3.906 kB / 1.652 GB, free: 220.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001579/3.553, allocations: 265.2 kB / 1.652 GB, free: 220.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005735/3.553, allocations: 61.47 kB / 1.652 GB, free: 220.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007871/3.561, allocations: 3.858 MB / 1.656 GB, free: 217.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002263/3.563, allocations: 80.88 kB / 1.656 GB, free: 217.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.021e-05/3.564, allocations: 19.14 kB / 1.656 GB, free: 217.7 MB / 0.8698 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.vol1.dynBal.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real vol1.ports[1].m_flow:VARIABLE(flow=true min = -100000.0 max = 100000.0 unit = "kg/s" ) "Mass flow rate from the connection point into the component" type: Real [1] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.vol.dynBal.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real vol.dynBal.mb_flow:VARIABLE(unit = "kg/s" protected = true ) "Mass flows across boundaries" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002927/3.564, allocations: 126 kB / 1.656 GB, free: 217.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000215/3.564, allocations: 62.62 kB / 1.656 GB, free: 217.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002946/3.567, allocations: 0.6132 MB / 1.657 GB, free: 217.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.457e-05/3.567, allocations: 3.906 kB / 1.657 GB, free: 217.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/3.567, allocations: 0 / 1.657 GB, free: 217.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00244/3.57, allocations: 0.7016 MB / 1.658 GB, free: 217.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004952/3.575, allocations: 1.566 MB / 1.659 GB, free: 216.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.35e-05/3.575, allocations: 7.781 kB / 1.659 GB, free: 216.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007002/3.575, allocations: 54.77 kB / 1.659 GB, free: 216.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001634/3.577, allocations: 231.2 kB / 1.66 GB, free: 216.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.723e-05/3.577, allocations: 7.156 kB / 1.66 GB, free: 216.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007787/3.585, allocations: 3.648 MB / 1.663 GB, free: 214.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/3.585, allocations: 0 / 1.663 GB, free: 214.1 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003189/3.588, allocations: 0.8898 MB / 1.664 GB, free: 213.6 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003799/3.592, allocations: 1.495 MB / 1.665 GB, free: 212.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005669/3.593, allocations: 193.8 kB / 1.666 GB, free: 212.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001604/3.593, allocations: 3.609 kB / 1.666 GB, free: 212.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002162/3.595, allocations: 71.56 kB / 1.666 GB, free: 212.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.751e-05/3.595, allocations: 18.33 kB / 1.666 GB, free: 212.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.732e-05/3.595, allocations: 15.48 kB / 1.666 GB, free: 212.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0005836/3.596, allocations: 306.6 kB / 1.666 GB, free: 212.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004787/3.601, allocations: 0.4906 MB / 1.667 GB, free: 212.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (vol.ports[2].h_outflow,vol1.ports[1].h_outflow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 26 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 6,2 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009648/3.602, allocations: 322.7 kB / 1.667 GB, free: 212.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.004341/3.606, allocations: 1.161 MB / 1.668 GB, free: 211.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.909e-06/3.606, allocations: 3.906 kB / 1.668 GB, free: 211.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00205/3.608, allocations: 478.4 kB / 1.668 GB, free: 211.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003137/3.611, allocations: 311.9 kB / 1.669 GB, free: 211 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00328/3.615, allocations: 0.9338 MB / 1.67 GB, free: 210.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008816/3.616, allocations: 0.9773 MB / 1.671 GB, free: 209.8 MB / 0.8698 GB Notification: Performance of SimCode: time 1.563e-06/3.616, allocations: 0 / 1.671 GB, free: 209.8 MB / 0.8698 GB