Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.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.MixingVolumeAdiabaticCooling,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",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.131/2.131, 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.001638/0.001637, allocations: 187.6 kB / 315.1 MB, free: 4.258 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.17/2.17, allocations: 205.1 MB / 0.5658 GB, free: 296 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.001232/0.001231, allocations: 91.31 kB / 0.67 GB, free: 5.5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4961/0.4974, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.7147, allocations: 106.2 MB / 0.8835 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.91/6.625, allocations: 2.19 GB / 3.073 GB, free: 178.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002876/6.625, allocations: 82.77 kB / 3.073 GB, free: 178.8 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 1.706/8.331, allocations: 349.6 MB / 3.415 GB, free: 180.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/8.331, allocations: 8 kB / 3.415 GB, free: 180.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003224/8.334, allocations: 290.7 kB / 3.415 GB, free: 180 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002489/8.337, allocations: 0.7133 MB / 3.416 GB, free: 179.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.349e-05/8.337, allocations: 20 kB / 3.416 GB, free: 179.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001567/8.337, allocations: 39.91 kB / 3.416 GB, free: 179.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001648/8.339, allocations: 458.5 kB / 3.416 GB, free: 178.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00168/8.34, allocations: 495.9 kB / 3.417 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.468e-05/8.34, allocations: 4 kB / 3.417 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/8.341, allocations: 3.938 kB / 3.417 GB, free: 178.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.227e-05/8.341, allocations: 21.31 kB / 3.417 GB, free: 178.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004965/8.346, allocations: 2.276 MB / 3.419 GB, free: 175.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007665/8.346, allocations: 319 kB / 3.419 GB, free: 175.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004306/8.347, allocations: 196.8 kB / 3.419 GB, free: 175.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002646/8.347, allocations: 104.5 kB / 3.419 GB, free: 175.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/8.347, allocations: 42.5 kB / 3.419 GB, free: 175.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=43): time 3.006e-06/8.347, allocations: 4 kB / 3.419 GB, free: 175.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=48): time 0.004287/8.351, allocations: 1.19 MB / 3.421 GB, free: 173.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/8.352, allocations: 59.84 kB / 3.421 GB, free: 173.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007093/8.352, allocations: 390.2 kB / 3.421 GB, free: 173.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001059/8.352, allocations: 29.7 kB / 3.421 GB, free: 173.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/8.353, allocations: 264.2 kB / 3.421 GB, free: 173.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002048/8.353, allocations: 161.5 kB / 3.421 GB, free: 172.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.334e-05/8.353, allocations: 0 / 3.421 GB, free: 172.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001137/8.353, allocations: 370.7 kB / 3.422 GB, free: 172.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003884/8.353, allocations: 157 kB / 3.422 GB, free: 172.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004475/8.354, allocations: 236.1 kB / 3.422 GB, free: 172.2 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: volExa.dynBal.medium.p = volExa.dynBal.p_start (bou.p = volExa.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volSim.dynBal.medium.p = volSim.dynBal.p_start (bou.p = volSim.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.004313/8.358, allocations: 0.9917 MB / 3.423 GB, free: 171.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/8.358, allocations: 0 / 3.423 GB, free: 171.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001174/8.359, allocations: 482.4 kB / 3.424 GB, free: 170.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/8.359, allocations: 11.94 kB / 3.424 GB, free: 170.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/8.359, allocations: 160 / 3.424 GB, free: 170.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.326e-05/8.359, allocations: 8 kB / 3.424 GB, free: 170.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008436/8.36, allocations: 91.91 kB / 3.424 GB, free: 170.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/8.36, allocations: 4 kB / 3.424 GB, free: 170.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001379/8.362, allocations: 35.94 kB / 3.424 GB, free: 170.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.132e-05/8.362, allocations: 16 kB / 3.424 GB, free: 170.5 MB / 0.8698 GB Warning: Assuming redundant initial conditions for the following 2 initial equations: volExa.dynBal.medium.p = volExa.dynBal.p_start volSim.dynBal.medium.p = volSim.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 56 * 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.0002094/8.362, allocations: 127.8 kB / 3.424 GB, free: 170.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001665/8.362, allocations: 59.34 kB / 3.424 GB, free: 170.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002714/8.362, allocations: 69.52 kB / 3.424 GB, free: 170.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/8.362, allocations: 7.984 kB / 3.424 GB, free: 170.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/8.362, allocations: 4 kB / 3.424 GB, free: 170.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008847/8.363, allocations: 478 kB / 3.424 GB, free: 169.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003406/8.367, allocations: 1.45 MB / 3.426 GB, free: 168.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/8.367, allocations: 8.125 kB / 3.426 GB, free: 168.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001142/8.368, allocations: 123.8 kB / 3.426 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.459e-05/8.368, allocations: 8 kB / 3.426 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.279e-05/8.368, allocations: 8 kB / 3.426 GB, free: 168 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.007e-05/8.368, allocations: 7.984 kB / 3.426 GB, free: 168 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-06/8.368, allocations: 11.94 kB / 3.426 GB, free: 168 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001708/8.37, allocations: 1.119 MB / 3.427 GB, free: 166.7 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002502/8.372, allocations: 1.788 MB / 3.429 GB, free: 164.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005741/8.373, allocations: 196.3 kB / 3.429 GB, free: 164.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001499/8.373, allocations: 15.92 kB / 3.429 GB, free: 164.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/8.374, allocations: 35.83 kB / 3.429 GB, free: 164.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/8.375, allocations: 39.86 kB / 3.429 GB, free: 164.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.513e-05/8.375, allocations: 27.98 kB / 3.429 GB, free: 164.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0005231/8.375, allocations: 306.9 kB / 3.429 GB, free: 164.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00273/8.378, allocations: 368 kB / 3.43 GB, free: 163.7 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (volSim.dynBal.U,volSim.dynBal.mXi[1],volExa.dynBal.U,volExa.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 49 * 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.002229/8.38, allocations: 1.195 MB / 3.431 GB, free: 162.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001188/8.381, allocations: 396.5 kB / 3.431 GB, free: 162.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.518e-06/8.381, allocations: 4 kB / 3.431 GB, free: 162.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004821/8.382, allocations: 215.6 kB / 3.432 GB, free: 162.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003799/8.386, allocations: 400.6 kB / 3.432 GB, free: 161.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003494/8.389, allocations: 1.231 MB / 3.433 GB, free: 160.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001157/8.391, allocations: 1.077 MB / 3.434 GB, free: 159.2 MB / 0.8698 GB Notification: Performance of SimCode: time 1.422e-06/8.391, allocations: 0 / 3.434 GB, free: 159.2 MB / 0.8698 GB