Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.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.MixingVolumeInitialization,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",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.418/2.418, allocations: 248.6 MB / 255.9 MB, free: 7.113 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.001898/0.001898, allocations: 192.1 kB / 315.1 MB, free: 4.254 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.942/1.942, 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.001453/0.001452, allocations: 95.02 kB / 0.67 GB, free: 5.496 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5276/0.5291, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.7517, allocations: 106.3 MB / 0.8835 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.865/6.617, allocations: 2.222 GB / 3.105 GB, free: 142.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003069/6.617, allocations: 88.12 kB / 3.106 GB, free: 142.7 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: 175 * Number of variables: 175 Notification: Performance of Generate backend data structure: time 2.124/8.742, allocations: 459.3 MB / 3.554 GB, free: 31.71 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/8.742, allocations: 12 kB / 3.554 GB, free: 31.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003346/8.745, allocations: 302.3 kB / 3.554 GB, free: 31.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003308/8.748, allocations: 0.8433 MB / 3.555 GB, free: 30.51 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.145e-05/8.749, allocations: 24 kB / 3.555 GB, free: 30.49 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002447/8.749, allocations: 36 kB / 3.555 GB, free: 30.45 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002823/8.752, allocations: 0.8857 MB / 3.556 GB, free: 29.57 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002443/8.754, allocations: 0.9055 MB / 3.557 GB, free: 28.64 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.456e-05/8.754, allocations: 3.938 kB / 3.557 GB, free: 28.63 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001449/8.754, allocations: 0 / 3.557 GB, free: 28.63 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001264/8.755, allocations: 81.84 kB / 3.557 GB, free: 28.55 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01054/8.765, allocations: 3.446 MB / 3.56 GB, free: 24.89 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002557/8.768, allocations: 0.7285 MB / 3.561 GB, free: 24.15 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008804/8.769, allocations: 358.2 kB / 3.562 GB, free: 23.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004309/8.769, allocations: 198.7 kB / 3.562 GB, free: 23.57 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/8.769, allocations: 43 kB / 3.562 GB, free: 23.52 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=62): time 3.306e-06/8.769, allocations: 0 / 3.562 GB, free: 23.52 MB / 0.8698 GB Notification: Performance of matching and sorting (n=62): time 0.003146/8.772, allocations: 0.7493 MB / 3.562 GB, free: 22.76 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/8.772, allocations: 107.3 kB / 3.563 GB, free: 22.62 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/8.774, allocations: 0.5546 MB / 3.563 GB, free: 22.06 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001764/8.774, allocations: 33.64 kB / 3.563 GB, free: 22.02 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002036/8.774, allocations: 307.8 kB / 3.563 GB, free: 21.71 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002958/8.774, allocations: 216.8 kB / 3.564 GB, free: 21.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.763e-05/8.774, allocations: 3.938 kB / 3.564 GB, free: 21.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000148/8.775, allocations: 390.8 kB / 3.564 GB, free: 21.11 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008113/8.775, allocations: 313.5 kB / 3.564 GB, free: 20.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009125/8.776, allocations: 435.7 kB / 3.565 GB, free: 20.32 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0112/8.788, allocations: 1.353 MB / 3.566 GB, free: 18.97 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.727e-05/8.788, allocations: 0 / 3.566 GB, free: 18.97 MB / 0.8698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0128/8.8, allocations: 1.818 MB / 3.568 GB, free: 17.14 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002026/8.801, allocations: 0.8718 MB / 3.569 GB, free: 16.21 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/8.801, allocations: 4 kB / 3.569 GB, free: 16.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.767e-05/8.801, allocations: 4 kB / 3.569 GB, free: 16.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001559/8.802, allocations: 151.8 kB / 3.569 GB, free: 16.05 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-05/8.802, allocations: 4 kB / 3.569 GB, free: 16.05 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001746/8.804, allocations: 83.23 kB / 3.569 GB, free: 15.96 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001272/8.804, allocations: 24 kB / 3.569 GB, free: 15.94 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/8.804, allocations: 11.12 kB / 3.569 GB, free: 15.93 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01186/8.816, allocations: 1.63 MB / 3.571 GB, free: 14.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/8.816, allocations: 0 / 3.571 GB, free: 14.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/8.816, allocations: 8 kB / 3.571 GB, free: 14.29 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001492/8.818, allocations: 143.8 kB / 3.571 GB, free: 14.15 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.308e-05/8.818, allocations: 7.984 kB / 3.571 GB, free: 14.14 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001724/8.82, allocations: 79.67 kB / 3.571 GB, free: 14.07 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001457/8.82, allocations: 28 kB / 3.571 GB, free: 14.04 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 (86): * Single equations (assignments): 86 * 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.0003276/8.82, allocations: 116.9 kB / 3.571 GB, free: 13.92 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002789/8.82, allocations: 82.97 kB / 3.571 GB, free: 13.84 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002528/8.823, allocations: 0.7656 MB / 3.572 GB, free: 13.06 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.377e-05/8.823, allocations: 8 kB / 3.572 GB, free: 13.05 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/8.823, allocations: 0 / 3.572 GB, free: 13.05 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00183/8.825, allocations: 0.7252 MB / 3.572 GB, free: 12.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005637/8.831, allocations: 1.941 MB / 3.574 GB, free: 10.27 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.219e-05/8.831, allocations: 3.906 kB / 3.574 GB, free: 10.27 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001461/8.832, allocations: 135.8 kB / 3.575 GB, free: 10.13 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-05/8.832, allocations: 4.438 kB / 3.575 GB, free: 10.13 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001212/8.832, allocations: 12 kB / 3.575 GB, free: 10.12 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.118e-06/8.832, allocations: 4 kB / 3.575 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.428e-06/8.832, allocations: 11.92 kB / 3.575 GB, free: 10.1 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003402/8.836, allocations: 1.518 MB / 3.576 GB, free: 8.438 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004793/8.841, allocations: 2.431 MB / 3.578 GB, free: 5.863 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009382/8.842, allocations: 255.9 kB / 3.579 GB, free: 5.594 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002977/8.842, allocations: 8.094 kB / 3.579 GB, free: 5.586 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001652/8.844, allocations: 51.73 kB / 3.579 GB, free: 5.535 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000169/8.844, allocations: 36.39 kB / 3.579 GB, free: 5.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.569e-05/8.844, allocations: 23.98 kB / 3.579 GB, free: 5.477 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0008558/8.845, allocations: 431.2 kB / 3.579 GB, free: 5.059 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.006609/8.851, allocations: 1.244 MB / 3.58 GB, free: 3.812 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 64 * 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.006005/8.857, allocations: 1.942 MB / 3.582 GB, free: 1.816 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00437/8.862, allocations: 1.11 MB / 3.583 GB, free: 0.707 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.564e-05/8.862, allocations: 4.375 kB / 3.583 GB, free: 0.7031 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001135/8.863, allocations: 353.4 kB / 3.584 GB, free: 364 kB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.3706/9.234, allocations: 417.6 kB / 3.584 GB, free: 278.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004559/9.238, allocations: 1.501 MB / 3.586 GB, free: 277.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001295/9.24, allocations: 1.191 MB / 3.587 GB, free: 277.2 MB / 0.8698 GB Notification: Performance of SimCode: time 1.062e-06/9.24, allocations: 0 / 3.587 GB, free: 277.2 MB / 0.8698 GB