Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",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.2/2.2, allocations: 248.6 MB / 255.9 MB, free: 7.156 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.001644/0.001644, allocations: 188.1 kB / 315.1 MB, free: 4.301 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.946/1.946, allocations: 205.1 MB / 0.5658 GB, free: 344 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.001364/0.001363, allocations: 95.27 kB / 0.67 GB, free: 5.547 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4872/0.4886, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2011/0.6897, allocations: 106.2 MB / 0.8835 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.751/6.441, allocations: 2.203 GB / 3.087 GB, free: 165.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003168/6.441, allocations: 85.52 kB / 3.087 GB, free: 165.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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 2.956/9.397, allocations: 0.5751 GB / 3.662 GB, free: 151.7 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/9.397, allocations: 7.562 kB / 3.662 GB, free: 151.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002162/9.399, allocations: 222.1 kB / 3.662 GB, free: 151.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002311/9.402, allocations: 0.6787 MB / 3.663 GB, free: 151.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.974e-05/9.402, allocations: 20.94 kB / 3.663 GB, free: 151.4 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001628/9.402, allocations: 46.56 kB / 3.663 GB, free: 151.4 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001662/9.404, allocations: 0.5233 MB / 3.664 GB, free: 151.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001942/9.406, allocations: 0.798 MB / 3.664 GB, free: 151.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.321e-05/9.406, allocations: 2.25 kB / 3.664 GB, free: 151.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/9.406, allocations: 14.75 kB / 3.664 GB, free: 151.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.986e-05/9.406, allocations: 28.16 kB / 3.664 GB, free: 151.2 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007432/9.413, allocations: 4.453 MB / 3.669 GB, free: 148.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001191/9.415, allocations: 448.7 kB / 3.669 GB, free: 148 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004721/9.415, allocations: 226.3 kB / 3.669 GB, free: 148 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000269/9.415, allocations: 98.61 kB / 3.67 GB, free: 147.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/9.415, allocations: 37.88 kB / 3.67 GB, free: 147.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=43): time 3.917e-06/9.415, allocations: 2.906 kB / 3.67 GB, free: 147.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=45): time 0.004237/9.42, allocations: 1.333 MB / 3.671 GB, free: 147.3 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.305e-05/9.42, allocations: 114.4 kB / 3.671 GB, free: 147.2 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008229/9.421, allocations: 439.2 kB / 3.671 GB, free: 147 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 8.534e-05/9.421, allocations: 25.7 kB / 3.671 GB, free: 147 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002794/9.421, allocations: 348 kB / 3.672 GB, free: 146.8 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001977/9.421, allocations: 158.9 kB / 3.672 GB, free: 146.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.403e-05/9.421, allocations: 0 / 3.672 GB, free: 146.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000133/9.421, allocations: 374.8 kB / 3.672 GB, free: 146.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004382/9.422, allocations: 161.5 kB / 3.672 GB, free: 146.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005942/9.422, allocations: 399.4 kB / 3.673 GB, free: 146.2 MB / 0.8855 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00281/9.425, allocations: 0.6382 MB / 3.673 GB, free: 146.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/9.425, allocations: 0 / 3.673 GB, free: 146.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001569/9.427, allocations: 0.5814 MB / 3.674 GB, free: 146 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/9.427, allocations: 3.656 kB / 3.674 GB, free: 146 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/9.427, allocations: 6.75 kB / 3.674 GB, free: 146 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.601e-05/9.427, allocations: 17.44 kB / 3.674 GB, free: 146 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009442/9.428, allocations: 133.5 kB / 3.674 GB, free: 146 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.655e-05/9.428, allocations: 8.219 kB / 3.674 GB, free: 146 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/9.429, allocations: 39.27 kB / 3.674 GB, free: 146 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.099e-05/9.429, allocations: 32.45 kB / 3.674 GB, free: 146 MB / 0.8855 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: vol.dynBal.medium.p = vol.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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.0002212/9.43, allocations: 129.3 kB / 3.674 GB, free: 145.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002128/9.43, allocations: 68.16 kB / 3.674 GB, free: 145.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002869/9.43, allocations: 71.03 kB / 3.674 GB, free: 145.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/9.43, allocations: 11.16 kB / 3.674 GB, free: 145.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/9.43, allocations: 0 / 3.674 GB, free: 145.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009676/9.431, allocations: 0.6629 MB / 3.675 GB, free: 145.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005211/9.436, allocations: 1.478 MB / 3.677 GB, free: 144.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-05/9.437, allocations: 3.844 kB / 3.677 GB, free: 144.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001081/9.438, allocations: 97.66 kB / 3.677 GB, free: 144.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.947e-05/9.438, allocations: 6.875 kB / 3.677 GB, free: 144.8 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.012e-05/9.438, allocations: 10.91 kB / 3.677 GB, free: 144.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.147e-05/9.438, allocations: 6.438 kB / 3.677 GB, free: 144.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.018e-05/9.438, allocations: 9.719 kB / 3.677 GB, free: 144.8 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002009/9.44, allocations: 1.013 MB / 3.678 GB, free: 144.3 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003102/9.443, allocations: 1.688 MB / 3.679 GB, free: 143.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00074/9.444, allocations: 191 kB / 3.68 GB, free: 143.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001568/9.444, allocations: 11.81 kB / 3.68 GB, free: 143.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009916/9.445, allocations: 34.84 kB / 3.68 GB, free: 143.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.521e-05/9.445, allocations: 37.81 kB / 3.68 GB, free: 143.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.419e-05/9.445, allocations: 15.5 kB / 3.68 GB, free: 143.2 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.0006768/9.446, allocations: 334.3 kB / 3.68 GB, free: 143.2 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0034/9.449, allocations: 0.4992 MB / 3.68 GB, free: 143.2 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 5 (vol.dynBal.U,vol.dynBal.mXi[1],vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 45 * 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.003656/9.453, allocations: 1.874 MB / 3.682 GB, free: 142.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001418/9.454, allocations: 434.1 kB / 3.683 GB, free: 142.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.005e-05/9.455, allocations: 0 / 3.683 GB, free: 142.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004794/9.455, allocations: 200.1 kB / 3.683 GB, free: 142.6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002866/9.458, allocations: 309.6 kB / 3.683 GB, free: 142.6 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003652/9.462, allocations: 1.258 MB / 3.684 GB, free: 142.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001078/9.463, allocations: 1.117 MB / 3.685 GB, free: 141.5 MB / 0.8855 GB Notification: Performance of SimCode: time 1.573e-06/9.463, allocations: 0 / 3.685 GB, free: 141.5 MB / 0.8855 GB