Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.MixingVolumeMassFlow,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",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.142/2.142, allocations: 248.6 MB / 255.9 MB, free: 7.172 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.001973/0.001973, allocations: 196.8 kB / 315.1 MB, free: 4.25 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.964/1.964, allocations: 205.1 MB / 0.5658 GB, free: 360 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.00135/0.001349, allocations: 91.38 kB / 0.67 GB, free: 5.559 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5027/0.5041, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.7337, allocations: 106.2 MB / 0.8835 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.77/6.504, allocations: 2.191 GB / 3.074 GB, free: 178.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003366/6.504, allocations: 87.58 kB / 3.074 GB, free: 178 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: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 1.4/7.905, allocations: 254.9 MB / 3.323 GB, free: 248.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/7.905, allocations: 7.938 kB / 3.323 GB, free: 248.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002001/7.907, allocations: 187.3 kB / 3.323 GB, free: 248.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001604/7.909, allocations: 0.5147 MB / 3.324 GB, free: 248.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.319e-05/7.909, allocations: 17.91 kB / 3.324 GB, free: 248.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/7.909, allocations: 29.06 kB / 3.324 GB, free: 248.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001248/7.91, allocations: 376.5 kB / 3.324 GB, free: 248.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001487/7.912, allocations: 460.2 kB / 3.325 GB, free: 248.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.836e-05/7.912, allocations: 0 / 3.325 GB, free: 248.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.007e-05/7.912, allocations: 1.469 kB / 3.325 GB, free: 248.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.762e-05/7.912, allocations: 14.84 kB / 3.325 GB, free: 248.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004493/7.916, allocations: 1.647 MB / 3.326 GB, free: 247.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005156/7.917, allocations: 187.8 kB / 3.327 GB, free: 247.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000373/7.917, allocations: 156.4 kB / 3.327 GB, free: 247.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003043/7.918, allocations: 102.4 kB / 3.327 GB, free: 247 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/7.918, allocations: 42.64 kB / 3.327 GB, free: 246.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=27): time 3.437e-06/7.918, allocations: 0 / 3.327 GB, free: 246.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=28): time 0.003332/7.921, allocations: 0.8116 MB / 3.328 GB, free: 246.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/7.921, allocations: 54.16 kB / 3.328 GB, free: 246.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006657/7.922, allocations: 313.6 kB / 3.328 GB, free: 246.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8.588e-05/7.922, allocations: 27.08 kB / 3.328 GB, free: 246.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001727/7.922, allocations: 229.7 kB / 3.328 GB, free: 246 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001353/7.922, allocations: 98.47 kB / 3.328 GB, free: 246 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.388e-05/7.922, allocations: 6.297 kB / 3.328 GB, free: 246 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001169/7.922, allocations: 347.1 kB / 3.329 GB, free: 245.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003239/7.923, allocations: 107.9 kB / 3.329 GB, free: 245.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004037/7.923, allocations: 199.1 kB / 3.329 GB, free: 245.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003811/7.923, allocations: 151.2 kB / 3.329 GB, free: 245.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/7.923, allocations: 3.906 kB / 3.329 GB, free: 245.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001012/7.925, allocations: 351.1 kB / 3.329 GB, free: 245.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/7.925, allocations: 10.19 kB / 3.329 GB, free: 245.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/7.925, allocations: 3.375 kB / 3.329 GB, free: 245.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.624e-05/7.925, allocations: 4.781 kB / 3.329 GB, free: 245.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006265/7.925, allocations: 73.92 kB / 3.33 GB, free: 245.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/7.925, allocations: 4.312 kB / 3.33 GB, free: 245.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009434/7.926, allocations: 15.95 kB / 3.33 GB, free: 245.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.738e-05/7.926, allocations: 19.44 kB / 3.33 GB, free: 245.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * 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.0001773/7.927, allocations: 112.3 kB / 3.33 GB, free: 245.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001465/7.927, allocations: 42.14 kB / 3.33 GB, free: 245.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000206/7.927, allocations: 50.44 kB / 3.33 GB, free: 245.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-06/7.927, allocations: 7.688 kB / 3.33 GB, free: 245.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/7.927, allocations: 0 / 3.33 GB, free: 245.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000696/7.928, allocations: 361.2 kB / 3.33 GB, free: 244.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002727/7.93, allocations: 1.022 MB / 3.331 GB, free: 244.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.398e-06/7.93, allocations: 8.734 kB / 3.331 GB, free: 244.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006938/7.931, allocations: 60.36 kB / 3.331 GB, free: 244.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-05/7.931, allocations: 5 kB / 3.331 GB, free: 244.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.775e-05/7.931, allocations: 8.781 kB / 3.331 GB, free: 244.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.087e-05/7.931, allocations: 12.25 kB / 3.331 GB, free: 244.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/7.931, allocations: 2.688 kB / 3.331 GB, free: 244.3 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001539/7.933, allocations: 0.7529 MB / 3.332 GB, free: 243.7 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003137/7.936, allocations: 1.309 MB / 3.333 GB, free: 242.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008001/7.937, allocations: 166.9 kB / 3.333 GB, free: 242.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002195/7.937, allocations: 5.5 kB / 3.333 GB, free: 242.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001752/7.939, allocations: 25.25 kB / 3.333 GB, free: 242.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/7.939, allocations: 26.17 kB / 3.333 GB, free: 242.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001145/7.939, allocations: 17.62 kB / 3.333 GB, free: 242.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0007372/7.94, allocations: 245.6 kB / 3.334 GB, free: 242.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004419/7.944, allocations: 291 kB / 3.334 GB, free: 242.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 2 (vol.dynBal.U,vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * 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.003279/7.948, allocations: 1.074 MB / 3.335 GB, free: 242 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00126/7.949, allocations: 274.4 kB / 3.335 GB, free: 241.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.183e-05/7.949, allocations: 2.594 kB / 3.335 GB, free: 241.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004775/7.95, allocations: 136.1 kB / 3.335 GB, free: 241.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004191/7.954, allocations: 249.7 kB / 3.336 GB, free: 241.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002531/7.956, allocations: 0.7829 MB / 3.336 GB, free: 241.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008599/7.957, allocations: 0.9472 MB / 3.337 GB, free: 240.7 MB / 0.8698 GB Notification: Performance of SimCode: time 1.443e-06/7.957, allocations: 4.25 kB / 3.337 GB, free: 240.7 MB / 0.8698 GB