Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.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.MixingVolumeMFactor,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",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.067/2.067, allocations: 248.6 MB / 255.9 MB, free: 376 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.001772/0.001771, allocations: 182.4 kB / 315.1 MB, free: 7.805 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.142/2.142, allocations: 205.1 MB / 0.5658 GB, free: 25.7 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.002128/0.002128, allocations: 95.31 kB / 0.67 GB, free: 3.047 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.3682/0.3704, allocations: 112.4 MB / 0.7797 GB, free: 2.578 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5945/0.9649, allocations: 106.2 MB / 0.8835 GB, free: 77.32 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.891/6.856, allocations: 2.194 GB / 3.078 GB, free: 238.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004028/6.856, allocations: 86.94 kB / 3.078 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: 280 * Number of variables: 280 Notification: Performance of Generate backend data structure: time 3.659/10.51, allocations: 0.737 GB / 3.815 GB, free: 158.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/10.51, allocations: 9.125 kB / 3.815 GB, free: 158.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005677/10.52, allocations: 0.5093 MB / 3.815 GB, free: 158.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00436/10.52, allocations: 1.133 MB / 3.817 GB, free: 158.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.007e-05/10.53, allocations: 35.91 kB / 3.817 GB, free: 158.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004916/10.53, allocations: 66.69 kB / 3.817 GB, free: 158.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00359/10.53, allocations: 0.9697 MB / 3.818 GB, free: 158.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00353/10.53, allocations: 1.083 MB / 3.819 GB, free: 158.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.218e-05/10.53, allocations: 7.047 kB / 3.819 GB, free: 158.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001851/10.53, allocations: 6.812 kB / 3.819 GB, free: 158.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.777e-05/10.53, allocations: 37.11 kB / 3.819 GB, free: 158.4 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01028/10.54, allocations: 4.029 MB / 3.823 GB, free: 156.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/10.54, allocations: 448.9 kB / 3.823 GB, free: 156.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009111/10.55, allocations: 425.8 kB / 3.823 GB, free: 156.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005731/10.55, allocations: 295.6 kB / 3.824 GB, free: 156.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.897e-05/10.55, allocations: 48.84 kB / 3.824 GB, free: 156.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=73): time 3.276e-06/10.55, allocations: 3.969 kB / 3.824 GB, free: 156.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=76): time 0.007183/10.55, allocations: 1.947 MB / 3.826 GB, free: 156 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/10.55, allocations: 62.97 kB / 3.826 GB, free: 155.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001346/10.55, allocations: 0.6239 MB / 3.826 GB, free: 155.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002011/10.56, allocations: 29.36 kB / 3.826 GB, free: 155.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003076/10.56, allocations: 453.6 kB / 3.827 GB, free: 155.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003788/10.56, allocations: 263.1 kB / 3.827 GB, free: 155.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-05/10.56, allocations: 0 / 3.827 GB, free: 155.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.803e-05/10.56, allocations: 336.2 kB / 3.827 GB, free: 154.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007705/10.56, allocations: 288 kB / 3.828 GB, free: 154.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009233/10.56, allocations: 0.4905 MB / 3.828 GB, free: 154.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009279/10.56, allocations: 384 kB / 3.828 GB, free: 154.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/10.56, allocations: 7.5 kB / 3.828 GB, free: 154.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002319/10.56, allocations: 0.8698 MB / 3.829 GB, free: 154 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/10.56, allocations: 10.53 kB / 3.829 GB, free: 154 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/10.56, allocations: 3.312 kB / 3.829 GB, free: 154 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.257e-05/10.56, allocations: 11.03 kB / 3.829 GB, free: 154 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0015/10.56, allocations: 170.6 kB / 3.83 GB, free: 154 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.005e-05/10.56, allocations: 6.688 kB / 3.83 GB, free: 154 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002469/10.57, allocations: 62.34 kB / 3.83 GB, free: 154 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002272/10.57, allocations: 32.34 kB / 3.83 GB, free: 154 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 102 * 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.0003585/10.57, allocations: 127.3 kB / 3.83 GB, free: 153.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004233/10.57, allocations: 109.8 kB / 3.83 GB, free: 153.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005069/10.57, allocations: 119.7 kB / 3.83 GB, free: 153.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.395e-05/10.57, allocations: 13.91 kB / 3.83 GB, free: 153.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-05/10.57, allocations: 0 / 3.83 GB, free: 153.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002426/10.57, allocations: 0.9464 MB / 3.831 GB, free: 153.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006837/10.58, allocations: 2.424 MB / 3.833 GB, free: 152 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.219e-05/10.58, allocations: 8.938 kB / 3.833 GB, free: 152 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00141/10.58, allocations: 147.5 kB / 3.833 GB, free: 152 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005606/10.58, allocations: 102.3 kB / 3.834 GB, free: 151.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001147/10.58, allocations: 15.16 kB / 3.834 GB, free: 151.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002984/10.58, allocations: 2.781 MB / 3.836 GB, free: 149.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.25e-05/10.58, allocations: 11.78 kB / 3.836 GB, free: 149.3 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004104/10.59, allocations: 1.799 MB / 3.838 GB, free: 148.1 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005327/10.59, allocations: 2.71 MB / 3.841 GB, free: 146.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001689/10.59, allocations: 289.3 kB / 3.841 GB, free: 146 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005923/10.59, allocations: 11.47 kB / 3.841 GB, free: 146 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003796/10.6, allocations: 66.69 kB / 3.841 GB, free: 146 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004686/10.6, allocations: 60.33 kB / 3.841 GB, free: 145.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003146/10.6, allocations: 34.67 kB / 3.841 GB, free: 145.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001671/10.6, allocations: 495.6 kB / 3.842 GB, free: 145.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.005507/10.61, allocations: 0.6639 MB / 3.842 GB, free: 145.4 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 6 (vol.dynBal.U,vol.dynBal.mXi[1],volMFactor.dynBal.U,volMFactor.dynBal.mXi[1],vol1.dynBal.U,vol1.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 70 * 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: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003303/10.61, allocations: 1.857 MB / 3.844 GB, free: 144.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00201/10.61, allocations: 0.7102 MB / 3.845 GB, free: 144.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.184e-05/10.61, allocations: 0 / 3.845 GB, free: 144.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00123/10.61, allocations: 0.5781 MB / 3.845 GB, free: 144.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006074/10.62, allocations: 0.6154 MB / 3.846 GB, free: 144.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00645/10.62, allocations: 2.119 MB / 3.848 GB, free: 143.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001753/10.63, allocations: 1.378 MB / 3.849 GB, free: 142.5 MB / 0.8698 GB Notification: Performance of SimCode: time 1.342e-06/10.63, allocations: 2.562 kB / 3.849 GB, free: 142.5 MB / 0.8698 GB