Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.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.MixingVolume,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolume",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.354/2.354, allocations: 248.6 MB / 255.9 MB, free: 7.102 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.001854/0.001854, allocations: 188.2 kB / 315.1 MB, free: 4.242 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.937/1.937, allocations: 205.1 MB / 0.5658 GB, free: 364 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.001306/0.001305, allocations: 93.56 kB / 0.67 GB, free: 5.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4843/0.4857, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1995/0.6852, allocations: 106.2 MB / 0.8835 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.786/6.471, allocations: 2.205 GB / 3.088 GB, free: 163.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002976/6.471, allocations: 88.42 kB / 3.088 GB, free: 163.6 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: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 6.627/13.1, allocations: 1.303 GB / 4.391 GB, free: 112.4 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/13.1, allocations: 13.7 kB / 4.391 GB, free: 112.4 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006185/13.1, allocations: 0.531 MB / 4.392 GB, free: 112.2 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009032/13.11, allocations: 1.47 MB / 4.393 GB, free: 111.9 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003318/13.11, allocations: 130.4 kB / 4.394 GB, free: 111.8 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000859/13.11, allocations: 88.66 kB / 4.394 GB, free: 111.8 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006372/13.12, allocations: 1.258 MB / 4.395 GB, free: 111.8 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007154/13.13, allocations: 1.485 MB / 4.396 GB, free: 111.7 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.203e-05/13.13, allocations: 7.594 kB / 4.396 GB, free: 111.7 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003759/13.13, allocations: 3.594 kB / 4.396 GB, free: 111.7 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001173/13.13, allocations: 58.34 kB / 4.396 GB, free: 111.6 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02389/13.15, allocations: 7.668 MB / 4.404 GB, free: 107.5 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002437/13.16, allocations: 0.5839 MB / 4.404 GB, free: 107.5 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001946/13.16, allocations: 0.5142 MB / 4.405 GB, free: 107.4 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001336/13.16, allocations: 407.6 kB / 4.405 GB, free: 107.1 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.014e-05/13.16, allocations: 54.47 kB / 4.405 GB, free: 107 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=105): time 6.713e-06/13.16, allocations: 0 / 4.405 GB, free: 107 MB / 0.9011 GB Notification: Performance of matching and sorting (n=111): time 0.01766/13.18, allocations: 2.862 MB / 4.408 GB, free: 106.4 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.929e-05/13.18, allocations: 65.97 kB / 4.408 GB, free: 106.4 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003013/13.18, allocations: 0.8909 MB / 4.409 GB, free: 106.2 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0004539/13.18, allocations: 29.27 kB / 4.409 GB, free: 106.2 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005898/13.18, allocations: 0.5714 MB / 4.41 GB, free: 105.8 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008002/13.18, allocations: 381.6 kB / 4.41 GB, free: 105.6 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/13.18, allocations: 5.953 kB / 4.41 GB, free: 105.6 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001516/13.18, allocations: 357.6 kB / 4.41 GB, free: 105.3 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001197/13.18, allocations: 398.6 kB / 4.411 GB, free: 105.3 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001385/13.18, allocations: 0.7563 MB / 4.411 GB, free: 104.9 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001971/13.19, allocations: 0.6113 MB / 4.412 GB, free: 104.9 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/13.19, allocations: 0 / 4.412 GB, free: 104.9 MB / 0.9011 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.004106/13.19, allocations: 1.347 MB / 4.413 GB, free: 104.7 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006662/13.19, allocations: 3.107 MB / 4.416 GB, free: 101.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.579e-05/13.19, allocations: 7.844 kB / 4.416 GB, free: 101.5 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.333e-05/13.19, allocations: 16.47 kB / 4.416 GB, free: 101.5 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002696/13.19, allocations: 296.4 kB / 4.417 GB, free: 101.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.688e-05/13.19, allocations: 14.75 kB / 4.417 GB, free: 101.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003391/13.2, allocations: 147.7 kB / 4.417 GB, free: 101.5 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002133/13.2, allocations: 51.73 kB / 4.417 GB, free: 101.5 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/13.2, allocations: 6.25 kB / 4.417 GB, free: 101.5 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003369/13.2, allocations: 1.149 MB / 4.418 GB, free: 101.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.728e-05/13.2, allocations: 6.656 kB / 4.418 GB, free: 101.5 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.603e-05/13.2, allocations: 14.94 kB / 4.418 GB, free: 101.5 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0024/13.2, allocations: 293.5 kB / 4.418 GB, free: 101.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.446e-05/13.2, allocations: 16.91 kB / 4.418 GB, free: 101.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003283/13.21, allocations: 158.8 kB / 4.419 GB, free: 101.5 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001746/13.21, allocations: 55.5 kB / 4.419 GB, free: 101.5 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 4 (vol.regularFlow[1],vol.regularFlow[2],vol.inFlow[2],vol.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 156 * 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.0004685/13.21, allocations: 146.2 kB / 4.419 GB, free: 101.4 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004022/13.21, allocations: 157.6 kB / 4.419 GB, free: 101.3 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00362/13.21, allocations: 1.182 MB / 4.42 GB, free: 101.2 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.602e-05/13.21, allocations: 13.08 kB / 4.42 GB, free: 101.2 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/13.21, allocations: 3.938 kB / 4.42 GB, free: 101.2 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002562/13.21, allocations: 1.098 MB / 4.421 GB, free: 100.9 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007515/13.22, allocations: 2.686 MB / 4.424 GB, free: 100.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/13.22, allocations: 3.25 kB / 4.424 GB, free: 100.6 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002732/13.23, allocations: 276.2 kB / 4.424 GB, free: 100.6 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.095e-05/13.23, allocations: 3.344 kB / 4.424 GB, free: 100.6 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001391/13.23, allocations: 22.61 kB / 4.424 GB, free: 100.6 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.949e-06/13.23, allocations: 6.469 kB / 4.424 GB, free: 100.6 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/13.23, allocations: 3.844 kB / 4.424 GB, free: 100.6 MB / 0.9011 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004477/13.23, allocations: 1.932 MB / 4.426 GB, free: 100.1 MB / 0.9011 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00649/13.24, allocations: 3.082 MB / 4.429 GB, free: 99.28 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001471/13.24, allocations: 343.6 kB / 4.429 GB, free: 99.11 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004955/13.24, allocations: 13.62 kB / 4.429 GB, free: 99.11 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003205/13.24, allocations: 141.2 kB / 4.429 GB, free: 99.1 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003035/13.24, allocations: 58.06 kB / 4.429 GB, free: 99.1 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001709/13.24, allocations: 40.81 kB / 4.43 GB, free: 99.1 MB / 0.9011 GB Notification: Performance of sort global known variables: time 0.001552/13.24, allocations: 0.6685 MB / 4.43 GB, free: 98.99 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.009075/13.25, allocations: 1.714 MB / 4.432 GB, free: 98.98 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 12 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol.medium.Xi[1],vol.medium.T,vol.m,entFloRat.h_out,entFloRat1.h_out,vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1],entFloRat2.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 111 * 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.005829/13.26, allocations: 3.363 MB / 4.435 GB, free: 97.68 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.00459/13.26, allocations: 1.667 MB / 4.437 GB, free: 97.66 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.218e-05/13.26, allocations: 3.812 kB / 4.437 GB, free: 97.66 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.00122/13.26, allocations: 0.5016 MB / 4.437 GB, free: 97.66 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008529/13.27, allocations: 0.8308 MB / 4.438 GB, free: 97.63 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009813/13.28, allocations: 3.015 MB / 4.441 GB, free: 96.92 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002951/13.29, allocations: 1.663 MB / 4.443 GB, free: 96.18 MB / 0.9011 GB Notification: Performance of SimCode: time 2.404e-06/13.29, allocations: 0 / 4.443 GB, free: 96.18 MB / 0.9011 GB