Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.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.MixingVolumeSteadyStateMass,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass",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.241/2.241, allocations: 248.6 MB / 255.9 MB, free: 7.176 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.002627/0.002626, allocations: 195.7 kB / 315.1 MB, free: 4.277 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.849/1.849, allocations: 205.1 MB / 0.5658 GB, free: 308 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.001744/0.001743, allocations: 83.28 kB / 0.67 GB, free: 5.527 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5277/0.5295, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.7395, allocations: 106.2 MB / 0.8835 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.687/6.426, allocations: 2.194 GB / 3.078 GB, free: 174.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003032/6.427, allocations: 86.89 kB / 3.078 GB, free: 174.2 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 1.61/8.037, allocations: 358.5 MB / 3.428 GB, free: 165.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.861e-05/8.037, allocations: 8 kB / 3.428 GB, free: 165.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003449/8.041, allocations: 183 kB / 3.428 GB, free: 165.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002828/8.043, allocations: 0.5631 MB / 3.429 GB, free: 164.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.833e-05/8.044, allocations: 16 kB / 3.429 GB, free: 164.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001948/8.044, allocations: 31.84 kB / 3.429 GB, free: 164.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001561/8.045, allocations: 349.9 kB / 3.429 GB, free: 164.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001612/8.047, allocations: 384.5 kB / 3.429 GB, free: 164 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.735e-05/8.047, allocations: 4 kB / 3.429 GB, free: 164 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-05/8.047, allocations: 0 / 3.429 GB, free: 164 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.847e-05/8.047, allocations: 16.98 kB / 3.43 GB, free: 164 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006134/8.053, allocations: 1.968 MB / 3.431 GB, free: 161.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005829/8.054, allocations: 189.8 kB / 3.432 GB, free: 161.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005116/8.055, allocations: 165.4 kB / 3.432 GB, free: 161.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005051/8.055, allocations: 191.5 kB / 3.432 GB, free: 161.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/8.055, allocations: 38.56 kB / 3.432 GB, free: 161.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=30): time 5.23e-06/8.055, allocations: 4 kB / 3.432 GB, free: 161.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30): time 0.002251/8.057, allocations: 383.6 kB / 3.432 GB, free: 160.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/8.058, allocations: 55.41 kB / 3.432 GB, free: 160.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001277/8.059, allocations: 329.2 kB / 3.433 GB, free: 160.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001648/8.059, allocations: 25.7 kB / 3.433 GB, free: 160.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003138/8.059, allocations: 228 kB / 3.433 GB, free: 160.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001862/8.06, allocations: 102.5 kB / 3.433 GB, free: 160.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.323e-05/8.06, allocations: 0 / 3.433 GB, free: 160.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001372/8.06, allocations: 358.7 kB / 3.433 GB, free: 159.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002799/8.06, allocations: 103.7 kB / 3.434 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000364/8.06, allocations: 197.1 kB / 3.434 GB, free: 159.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003419/8.061, allocations: 133.5 kB / 3.434 GB, free: 159.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/8.061, allocations: 0 / 3.434 GB, free: 159.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008897/8.062, allocations: 348.9 kB / 3.434 GB, free: 159 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001231/8.062, allocations: 0.5254 MB / 3.435 GB, free: 158.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/8.062, allocations: 4 kB / 3.435 GB, free: 158.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/8.062, allocations: 3.984 kB / 3.435 GB, free: 158.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006944/8.063, allocations: 79.89 kB / 3.435 GB, free: 158.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/8.063, allocations: 4 kB / 3.435 GB, free: 158.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/8.064, allocations: 51.66 kB / 3.435 GB, free: 158.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.511e-05/8.064, allocations: 19.98 kB / 3.435 GB, free: 158.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/8.064, allocations: 4 kB / 3.435 GB, free: 158.2 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007603/8.065, allocations: 272 kB / 3.435 GB, free: 158 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/8.065, allocations: 0 / 3.435 GB, free: 158 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/8.065, allocations: 4 kB / 3.435 GB, free: 158 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006288/8.065, allocations: 83.98 kB / 3.435 GB, free: 157.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/8.065, allocations: 4 kB / 3.435 GB, free: 157.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001031/8.066, allocations: 43.81 kB / 3.435 GB, free: 157.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-05/8.066, allocations: 11.98 kB / 3.435 GB, free: 157.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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.0001895/8.067, allocations: 119.7 kB / 3.435 GB, free: 157.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000132/8.067, allocations: 51.44 kB / 3.435 GB, free: 157.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001102/8.068, allocations: 356.2 kB / 3.436 GB, free: 157.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/8.068, allocations: 8 kB / 3.436 GB, free: 157.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/8.068, allocations: 0 / 3.436 GB, free: 157.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007931/8.069, allocations: 405.1 kB / 3.436 GB, free: 156.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00248/8.071, allocations: 1.017 MB / 3.437 GB, free: 155.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/8.071, allocations: 4 kB / 3.437 GB, free: 155.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005985/8.072, allocations: 68.17 kB / 3.437 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003283/8.072, allocations: 44.77 kB / 3.437 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.774e-05/8.072, allocations: 4 kB / 3.437 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001551/8.074, allocations: 1.401 MB / 3.439 GB, free: 154.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.329e-06/8.074, allocations: 0 / 3.439 GB, free: 154.1 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001433/8.075, allocations: 0.734 MB / 3.439 GB, free: 153.3 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002833/8.078, allocations: 1.327 MB / 3.441 GB, free: 151.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006794/8.079, allocations: 164.4 kB / 3.441 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001736/8.079, allocations: 8 kB / 3.441 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001424/8.081, allocations: 39.97 kB / 3.441 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.375e-05/8.081, allocations: 19.88 kB / 3.441 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.202e-05/8.081, allocations: 12 kB / 3.441 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.000435/8.081, allocations: 263.2 kB / 3.441 GB, free: 151.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004001/8.085, allocations: 0.6325 MB / 3.442 GB, free: 150.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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): 27 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00209/8.087, allocations: 1.264 MB / 3.443 GB, free: 149.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001181/8.089, allocations: 442 kB / 3.443 GB, free: 149.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/8.089, allocations: 0 / 3.443 GB, free: 149.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005805/8.089, allocations: 254.8 kB / 3.444 GB, free: 148.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002606/8.092, allocations: 276.5 kB / 3.444 GB, free: 148.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002259/8.094, allocations: 0.8266 MB / 3.445 GB, free: 147.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006755/8.095, allocations: 0.9598 MB / 3.446 GB, free: 146.8 MB / 0.8698 GB Notification: Performance of SimCode: time 1.343e-06/8.095, allocations: 0 / 3.446 GB, free: 146.8 MB / 0.8698 GB