Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.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.BaseClasses.Validation.MixingVolumeHeatMoisturePort,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatMoisturePort",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.269/2.269, allocations: 248.6 MB / 255.9 MB, free: 7.148 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.001627/0.001628, allocations: 185.2 kB / 315.1 MB, free: 4.27 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.992/1.992, allocations: 205.1 MB / 0.5658 GB, free: 388 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.001353/0.001353, allocations: 98.77 kB / 0.67 GB, free: 5.586 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4946/0.496, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.7139, allocations: 106.2 MB / 0.8835 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.699/7.413, allocations: 2.443 GB / 3.326 GB, free: 206.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003326/7.413, allocations: 94.25 kB / 3.326 GB, free: 206.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: 268 * Number of variables: 268 Notification: Performance of Generate backend data structure: time 3.296/10.71, allocations: 0.6889 GB / 4.015 GB, free: 173.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/10.71, allocations: 8.031 kB / 4.015 GB, free: 173.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005675/10.72, allocations: 0.5058 MB / 4.016 GB, free: 173 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005537/10.72, allocations: 1.384 MB / 4.017 GB, free: 172.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.37e-05/10.72, allocations: 33.5 kB / 4.017 GB, free: 172.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005357/10.72, allocations: 72.25 kB / 4.017 GB, free: 172.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004409/10.73, allocations: 1.241 MB / 4.018 GB, free: 171.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004529/10.73, allocations: 1.208 MB / 4.019 GB, free: 171 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.501e-05/10.73, allocations: 1.156 kB / 4.019 GB, free: 171 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002193/10.73, allocations: 1.375 kB / 4.019 GB, free: 171 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.888e-05/10.73, allocations: 42.75 kB / 4.019 GB, free: 170.9 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01317/10.74, allocations: 4.971 MB / 4.024 GB, free: 167.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002571/10.75, allocations: 0.9927 MB / 4.025 GB, free: 166.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001467/10.75, allocations: 0.5923 MB / 4.026 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000502/10.75, allocations: 208.2 kB / 4.026 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.516e-05/10.75, allocations: 44.28 kB / 4.026 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=81): time 3.807e-06/10.75, allocations: 4.656 kB / 4.026 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=84): time 0.01057/10.76, allocations: 2.619 MB / 4.029 GB, free: 164.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/10.76, allocations: 60.16 kB / 4.029 GB, free: 164.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002053/10.76, allocations: 0.8025 MB / 4.03 GB, free: 164.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003355/10.76, allocations: 27.3 kB / 4.03 GB, free: 164.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003405/10.76, allocations: 414.9 kB / 4.03 GB, free: 163.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005722/10.76, allocations: 286.7 kB / 4.03 GB, free: 163.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.998e-05/10.76, allocations: 0 / 4.03 GB, free: 163.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001099/10.76, allocations: 340.7 kB / 4.031 GB, free: 163.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001191/10.76, allocations: 445.1 kB / 4.031 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001411/10.77, allocations: 0.5907 MB / 4.032 GB, free: 162.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001526/10.77, allocations: 0.5593 MB / 4.032 GB, free: 162.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-06/10.77, allocations: 3.75 kB / 4.032 GB, free: 162.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.003822/10.77, allocations: 1.209 MB / 4.033 GB, free: 161.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000205/10.77, allocations: 0.8004 MB / 4.034 GB, free: 161.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/10.77, allocations: 6.375 kB / 4.034 GB, free: 161.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004072/10.77, allocations: 72.03 kB / 4.034 GB, free: 161 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00233/10.77, allocations: 189.1 kB / 4.034 GB, free: 161 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00336/10.78, allocations: 2.902 MB / 4.037 GB, free: 158.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002906/10.78, allocations: 113 kB / 4.037 GB, free: 158.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002217/10.78, allocations: 32.06 kB / 4.037 GB, free: 158.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/10.78, allocations: 4 kB / 4.037 GB, free: 158.1 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002841/10.78, allocations: 1.067 MB / 4.038 GB, free: 157 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/10.78, allocations: 7.906 kB / 4.038 GB, free: 157 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003234/10.78, allocations: 80.56 kB / 4.038 GB, free: 157 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001636/10.79, allocations: 163.8 kB / 4.039 GB, free: 156.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002181/10.79, allocations: 1.722 MB / 4.04 GB, free: 155 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002859/10.79, allocations: 101.9 kB / 4.04 GB, free: 154.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001358/10.79, allocations: 38.64 kB / 4.04 GB, free: 154.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003969/10.79, allocations: 116.8 kB / 4.041 GB, free: 154.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000369/10.79, allocations: 114.6 kB / 4.041 GB, free: 154.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003053/10.79, allocations: 1.189 MB / 4.042 GB, free: 153.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.726e-05/10.8, allocations: 8 kB / 4.042 GB, free: 153.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.929e-06/10.8, allocations: 0 / 4.042 GB, free: 153.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002586/10.8, allocations: 1.25 MB / 4.043 GB, free: 152.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007648/10.81, allocations: 2.728 MB / 4.046 GB, free: 149.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.256e-05/10.81, allocations: 4 kB / 4.046 GB, free: 149.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002284/10.81, allocations: 237.7 kB / 4.046 GB, free: 149.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003378/10.81, allocations: 68.81 kB / 4.046 GB, free: 149 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001554/10.81, allocations: 12 kB / 4.046 GB, free: 149 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003075/10.81, allocations: 2.905 MB / 4.049 GB, free: 145.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-06/10.81, allocations: 7.938 kB / 4.049 GB, free: 145.9 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004366/10.82, allocations: 2.091 MB / 4.051 GB, free: 143.8 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006008/10.82, allocations: 3.278 MB / 4.054 GB, free: 140.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001312/10.82, allocations: 339.7 kB / 4.054 GB, free: 140.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003001/10.82, allocations: 15.98 kB / 4.054 GB, free: 140 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002229/10.83, allocations: 95.27 kB / 4.055 GB, free: 140 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001697/10.83, allocations: 48.44 kB / 4.055 GB, free: 139.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001213/10.83, allocations: 31.98 kB / 4.055 GB, free: 139.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001229/10.83, allocations: 0.6358 MB / 4.055 GB, free: 139.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.006607/10.83, allocations: 1.054 MB / 4.056 GB, free: 138.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (vol[1].dynBal.U,vol[1].dynBal.mXi[1],vol[2].dynBal.U,vol[2].dynBal.mXi[1],vol[3].dynBal.U,vol[3].dynBal.m,vol[3].dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002606/10.84, allocations: 1.522 MB / 4.058 GB, free: 137 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.005127/10.84, allocations: 1.885 MB / 4.06 GB, free: 135.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.194e-05/10.84, allocations: 0 / 4.06 GB, free: 135.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001593/10.84, allocations: 0.6596 MB / 4.06 GB, free: 134.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007679/10.85, allocations: 0.7159 MB / 4.061 GB, free: 133.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01222/10.86, allocations: 2.738 MB / 4.064 GB, free: 131.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003051/10.87, allocations: 1.601 MB / 4.065 GB, free: 129.6 MB / 0.8698 GB Notification: Performance of SimCode: time 2.134e-06/10.87, allocations: 0 / 4.065 GB, free: 129.6 MB / 0.8698 GB