Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",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.089/2.089, allocations: 248.6 MB / 255.9 MB, free: 364 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001615/0.001615, allocations: 187.8 kB / 315.1 MB, free: 7.758 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.392/2.392, allocations: 205.1 MB / 0.5658 GB, free: 25.45 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001298/0.001298, allocations: 94.62 kB / 0.67 GB, free: 2.938 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.3184/0.3197, allocations: 112.4 MB / 0.7797 GB, free: 2.469 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5519/0.8717, allocations: 106.2 MB / 0.8835 GB, free: 77.27 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.806/6.678, allocations: 2.191 GB / 3.075 GB, free: 238.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003267/6.678, allocations: 90.03 kB / 3.075 GB, free: 238.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: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 2.51/9.189, allocations: 0.556 GB / 3.631 GB, free: 50.66 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.413e-05/9.189, allocations: 8 kB / 3.631 GB, free: 50.65 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006251/9.195, allocations: 442.2 kB / 3.631 GB, free: 50.21 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003873/9.199, allocations: 0.8053 MB / 3.632 GB, free: 49.37 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009364/9.2, allocations: 101.9 kB / 3.632 GB, free: 49.27 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003053/9.2, allocations: 48 kB / 3.632 GB, free: 49.22 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002518/9.203, allocations: 0.6717 MB / 3.633 GB, free: 48.55 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002332/9.205, allocations: 0.8089 MB / 3.633 GB, free: 47.71 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.613e-05/9.205, allocations: 0 / 3.633 GB, free: 47.71 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002028/9.205, allocations: 11.84 kB / 3.633 GB, free: 47.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.429e-05/9.206, allocations: 37.98 kB / 3.634 GB, free: 47.66 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0121/9.218, allocations: 3.276 MB / 3.637 GB, free: 44.23 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001582/9.219, allocations: 429.5 kB / 3.637 GB, free: 43.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007356/9.22, allocations: 229.4 kB / 3.637 GB, free: 43.57 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003558/9.22, allocations: 101.4 kB / 3.637 GB, free: 43.46 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.03e-05/9.221, allocations: 40.53 kB / 3.637 GB, free: 43.41 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=39): time 4.819e-06/9.221, allocations: 0 / 3.637 GB, free: 43.41 MB / 0.8698 GB Notification: Performance of matching and sorting (n=41): time 0.009147/9.23, allocations: 1.461 MB / 3.639 GB, free: 41.89 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/9.23, allocations: 55.41 kB / 3.639 GB, free: 41.82 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001351/9.231, allocations: 0.5191 MB / 3.639 GB, free: 41.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002224/9.231, allocations: 25.7 kB / 3.639 GB, free: 41.27 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002912/9.232, allocations: 366.9 kB / 3.64 GB, free: 40.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002577/9.232, allocations: 138 kB / 3.64 GB, free: 40.77 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.948e-05/9.232, allocations: 0 / 3.64 GB, free: 40.77 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001652/9.232, allocations: 374.8 kB / 3.64 GB, free: 40.39 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007653/9.233, allocations: 205.2 kB / 3.641 GB, free: 40.19 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008605/9.234, allocations: 336.1 kB / 3.641 GB, free: 39.81 MB / 0.8698 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.005964/9.24, allocations: 0.9683 MB / 3.642 GB, free: 38.82 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/9.24, allocations: 0 / 3.642 GB, free: 38.82 MB / 0.8698 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.005415/9.245, allocations: 0.8193 MB / 3.643 GB, free: 38 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.669e-05/9.245, allocations: 4 kB / 3.643 GB, free: 37.99 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.848e-05/9.245, allocations: 4 kB / 3.643 GB, free: 37.99 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007521/9.246, allocations: 132.9 kB / 3.643 GB, free: 37.86 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001669/9.248, allocations: 139.8 kB / 3.643 GB, free: 37.72 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00491/9.253, allocations: 1.733 MB / 3.645 GB, free: 35.87 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002482/9.255, allocations: 87.83 kB / 3.645 GB, free: 35.78 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001421/9.256, allocations: 20.06 kB / 3.645 GB, free: 35.76 MB / 0.8698 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: volDyn.dynBal.medium.p = volDyn.dynBal.p_start Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volSte.heatPort.Q_flow:VARIABLE(flow=true unit = "W" ) "Heat flow rate (positive if flowing from outside into the component)" 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 (59): * Single equations (assignments): 58 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003972/9.256, allocations: 121.8 kB / 3.645 GB, free: 35.64 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003119/9.256, allocations: 79.06 kB / 3.645 GB, free: 35.56 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004182/9.257, allocations: 78.75 kB / 3.645 GB, free: 35.48 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.779e-06/9.257, allocations: 8 kB / 3.645 GB, free: 35.47 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/9.257, allocations: 192 / 3.645 GB, free: 35.47 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004562/9.261, allocations: 0.7079 MB / 3.646 GB, free: 34.73 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008578/9.27, allocations: 1.713 MB / 3.647 GB, free: 32.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.665e-05/9.27, allocations: 7.984 kB / 3.647 GB, free: 32.93 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001537/9.272, allocations: 120.3 kB / 3.647 GB, free: 32.81 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007347/9.272, allocations: 136.8 kB / 3.648 GB, free: 32.67 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.542e-05/9.273, allocations: 11.94 kB / 3.648 GB, free: 32.66 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005002/9.278, allocations: 1.729 MB / 3.649 GB, free: 30.82 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.3e-05/9.278, allocations: 4 kB / 3.649 GB, free: 30.82 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006037/9.284, allocations: 1.302 MB / 3.651 GB, free: 29.37 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005617/9.289, allocations: 2.004 MB / 3.652 GB, free: 27.23 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008064/9.29, allocations: 228.2 kB / 3.653 GB, free: 26.98 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002004/9.29, allocations: 4 kB / 3.653 GB, free: 26.98 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001839/9.292, allocations: 87.89 kB / 3.653 GB, free: 26.89 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/9.292, allocations: 35.86 kB / 3.653 GB, free: 26.86 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000112/9.293, allocations: 27.98 kB / 3.653 GB, free: 26.83 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0007783/9.293, allocations: 403.1 kB / 3.653 GB, free: 26.44 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003369/9.297, allocations: 499.9 kB / 3.654 GB, free: 25.95 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.U,volDyn.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 36 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.002683/9.3, allocations: 1.504 MB / 3.655 GB, free: 24.41 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001777/9.301, allocations: 0.5817 MB / 3.656 GB, free: 23.82 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/9.301, allocations: 4 kB / 3.656 GB, free: 23.81 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007594/9.302, allocations: 335 kB / 3.656 GB, free: 23.48 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003682/9.306, allocations: 378.1 kB / 3.656 GB, free: 23.11 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006852/9.313, allocations: 1.45 MB / 3.658 GB, free: 21.59 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001306/9.314, allocations: 1.133 MB / 3.659 GB, free: 20.43 MB / 0.8698 GB Notification: Performance of SimCode: time 1.573e-06/9.314, allocations: 0 / 3.659 GB, free: 20.43 MB / 0.8698 GB