Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.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.CoupledVolumesGlycol47,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47",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.251/2.251, allocations: 248.6 MB / 255.9 MB, free: 348 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.00241/0.00241, allocations: 189.1 kB / 315.1 MB, free: 7.762 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.202/2.202, 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.001864/0.001864, allocations: 94.19 kB / 0.67 GB, free: 2.938 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.3066/0.3085, allocations: 112.4 MB / 0.7797 GB, free: 2.469 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5301/0.8387, allocations: 106.2 MB / 0.8835 GB, free: 77.27 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.645/2.484, allocations: 0.5051 GB / 1.389 GB, free: 248.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003135/2.484, allocations: 89.59 kB / 1.389 GB, free: 248.5 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 2.409/4.893, allocations: 0.5705 GB / 1.959 GB, free: 79.52 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.815e-05/4.893, allocations: 12 kB / 1.959 GB, free: 79.51 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002425/4.896, allocations: 139 kB / 1.959 GB, free: 79.37 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1076/5.003, allocations: 30.41 MB / 1.989 GB, free: 48.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.82e-05/5.003, allocations: 16 kB / 1.989 GB, free: 48.79 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/5.003, allocations: 31.91 kB / 1.989 GB, free: 48.76 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009941/5.004, allocations: 297.9 kB / 1.989 GB, free: 48.47 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/5.006, allocations: 446.1 kB / 1.99 GB, free: 48 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.745e-05/5.006, allocations: 4 kB / 1.99 GB, free: 47.99 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.399e-05/5.006, allocations: 7.984 kB / 1.99 GB, free: 47.98 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/5.006, allocations: 8 kB / 1.99 GB, free: 47.98 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004089/5.01, allocations: 2.228 MB / 1.992 GB, free: 45.64 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004537/5.01, allocations: 189.3 kB / 1.992 GB, free: 45.45 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002833/5.011, allocations: 128.8 kB / 1.992 GB, free: 45.32 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001559/5.012, allocations: 2.015 MB / 1.994 GB, free: 42.87 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/5.012, allocations: 38.56 kB / 1.994 GB, free: 42.82 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=31): time 3.566e-06/5.012, allocations: 0 / 1.994 GB, free: 42.82 MB / 0.8698 GB Notification: Performance of matching and sorting (n=43): time 0.009606/5.022, allocations: 1.753 MB / 1.996 GB, free: 40.96 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/5.022, allocations: 59.39 kB / 1.996 GB, free: 40.89 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008357/5.023, allocations: 410.2 kB / 1.996 GB, free: 40.49 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001137/5.023, allocations: 29.7 kB / 1.996 GB, free: 40.46 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001751/5.023, allocations: 244.3 kB / 1.997 GB, free: 40.21 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001889/5.023, allocations: 145.8 kB / 1.997 GB, free: 40.07 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.401e-05/5.023, allocations: 4 kB / 1.997 GB, free: 40.06 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001213/5.024, allocations: 362.8 kB / 1.997 GB, free: 39.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003677/5.024, allocations: 137 kB / 1.997 GB, free: 39.56 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000433/5.024, allocations: 254.1 kB / 1.998 GB, free: 39.27 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001849/5.026, allocations: 256.2 kB / 1.998 GB, free: 39.02 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/5.026, allocations: 3.906 kB / 1.998 GB, free: 39.02 MB / 0.8698 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.003688/5.03, allocations: 0.6511 MB / 1.998 GB, free: 38.35 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000395/5.03, allocations: 1.13 MB / 2 GB, free: 37.13 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.997e-05/5.03, allocations: 4 kB / 2 GB, free: 37.13 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001401/5.032, allocations: 177.5 kB / 2 GB, free: 36.95 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007765/5.033, allocations: 79.89 kB / 2 GB, free: 36.87 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004048/5.037, allocations: 1.413 MB / 2.001 GB, free: 35.41 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001578/5.038, allocations: 31.95 kB / 2.001 GB, free: 35.38 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001871/5.039, allocations: 39.98 kB / 2.001 GB, free: 35.34 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/5.039, allocations: 4 kB / 2.001 GB, free: 35.33 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004228/5.043, allocations: 0.5512 MB / 2.002 GB, free: 34.77 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/5.043, allocations: 4 kB / 2.002 GB, free: 34.77 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007965/5.044, allocations: 186 kB / 2.002 GB, free: 34.58 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004895/5.044, allocations: 79.91 kB / 2.002 GB, free: 34.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002229/5.047, allocations: 1.413 MB / 2.003 GB, free: 33.04 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009709/5.048, allocations: 27.98 kB / 2.003 GB, free: 33.01 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.573e-05/5.048, allocations: 43.92 kB / 2.003 GB, free: 32.97 MB / 0.8698 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.vol1.dynBal.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real vol1.ports[1].m_flow:VARIABLE(flow=true min = -100000.0 max = 100000.0 unit = "kg/s" ) "Mass flow rate from the connection point into the component" type: Real [1] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.vol.dynBal.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real vol.dynBal.mb_flow:VARIABLE(unit = "kg/s" protected = true ) "Mass flows across boundaries" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 39 * 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: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002915/5.048, allocations: 128.2 kB / 2.004 GB, free: 32.84 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004426/5.048, allocations: 79.22 kB / 2.004 GB, free: 32.76 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004499/5.053, allocations: 0.955 MB / 2.005 GB, free: 31.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.003e-05/5.053, allocations: 12 kB / 2.005 GB, free: 31.79 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/5.053, allocations: 0 / 2.005 GB, free: 31.79 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002832/5.056, allocations: 0.8179 MB / 2.005 GB, free: 30.91 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005805/5.062, allocations: 1.566 MB / 2.007 GB, free: 29.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.277e-06/5.062, allocations: 4 kB / 2.007 GB, free: 29.29 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003597/5.062, allocations: 51.91 kB / 2.007 GB, free: 29.24 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008243/5.063, allocations: 169.6 kB / 2.007 GB, free: 29.07 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.113e-05/5.063, allocations: 11.98 kB / 2.007 GB, free: 29.06 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001814/5.065, allocations: 1.409 MB / 2.009 GB, free: 27.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/5.065, allocations: 160 / 2.009 GB, free: 27.6 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003691/5.069, allocations: 1.128 MB / 2.01 GB, free: 26.43 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00454/5.073, allocations: 1.89 MB / 2.011 GB, free: 24.51 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005353/5.074, allocations: 216.2 kB / 2.012 GB, free: 24.28 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001514/5.074, allocations: 3.984 kB / 2.012 GB, free: 24.27 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007194/5.075, allocations: 27.89 kB / 2.012 GB, free: 24.25 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.472e-05/5.075, allocations: 28.39 kB / 2.012 GB, free: 24.22 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.422e-05/5.075, allocations: 31.98 kB / 2.012 GB, free: 24.19 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0005615/5.076, allocations: 322.9 kB / 2.012 GB, free: 23.88 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.005455/5.081, allocations: 0.9016 MB / 2.013 GB, free: 22.97 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (vol.dynBal.medium.T_degC,vol1.dynBal.medium.T_degC) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 27 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 1 * 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: 0 * Non-linear torn systems: 2 {2 7,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.003397/5.084, allocations: 0.8178 MB / 2.014 GB, free: 22.15 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002354/5.087, allocations: 0.7487 MB / 2.014 GB, free: 21.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/5.087, allocations: 7.938 kB / 2.014 GB, free: 21.39 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009281/5.088, allocations: 297.4 kB / 2.015 GB, free: 21.11 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00271/5.091, allocations: 285.2 kB / 2.015 GB, free: 20.83 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003137/5.094, allocations: 1.006 MB / 2.016 GB, free: 19.79 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001113/5.095, allocations: 1.06 MB / 2.017 GB, free: 18.7 MB / 0.8698 GB Notification: Performance of SimCode: time 1.492e-06/5.095, allocations: 0 / 2.017 GB, free: 18.7 MB / 0.8698 GB