Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="Buildings_maint_8_0_x_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 8.0.1-maint.8.0.x/package.mo): time 1.373/1.373, allocations: 285.5 MB / 292.8 MB, free: 10.47 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009907/0.0009906, allocations: 185.2 kB / 361.1 MB, free: 7.09 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.174/1.174, allocations: 205.1 MB / 0.6195 GB, free: 10.29 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008321/0.0008319, allocations: 97.47 kB / 0.7326 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2101/0.2109, allocations: 121.4 MB / 0.8511 GB, free: 2.879 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5108/0.7218, allocations: 115.3 MB / 0.9637 GB, free: 78.02 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.047/3.769, allocations: 2.086 GB / 3.049 GB, free: 69.13 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002209/3.769, allocations: 87.95 kB / 3.05 GB, free: 69.04 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 3.934/7.703, allocations: 1.34 GB / 4.39 GB, free: 129.4 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/7.704, allocations: 11.06 kB / 4.39 GB, free: 129.4 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003843/7.707, allocations: 0.5293 MB / 4.39 GB, free: 129.3 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004117/7.712, allocations: 1.433 MB / 4.392 GB, free: 128.8 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001512/7.712, allocations: 128 kB / 4.392 GB, free: 128.8 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004363/7.712, allocations: 90.94 kB / 4.392 GB, free: 128.8 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002454/7.715, allocations: 1.223 MB / 4.393 GB, free: 128.8 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002739/7.717, allocations: 1.492 MB / 4.394 GB, free: 128.5 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.679e-05/7.717, allocations: 3.438 kB / 4.394 GB, free: 128.5 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001718/7.718, allocations: 4.906 kB / 4.394 GB, free: 128.5 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.835e-05/7.718, allocations: 55.06 kB / 4.394 GB, free: 128.5 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01108/7.729, allocations: 8.225 MB / 4.402 GB, free: 123.5 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007778/7.73, allocations: 0.5532 MB / 4.403 GB, free: 123.5 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006184/7.73, allocations: 0.4949 MB / 4.403 GB, free: 123.5 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005708/7.731, allocations: 404.9 kB / 4.404 GB, free: 123.1 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/7.731, allocations: 50.94 kB / 4.404 GB, free: 123.1 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=96): time 3.446e-06/7.731, allocations: 0 / 4.404 GB, free: 123.1 MB / 0.9636 GB Notification: Performance of matching and sorting (n=102): time 0.006191/7.737, allocations: 2.65 MB / 4.407 GB, free: 122.5 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.639e-05/7.737, allocations: 63.69 kB / 4.407 GB, free: 122.4 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001189/7.738, allocations: 0.8901 MB / 4.407 GB, free: 122.2 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.835e-05/7.738, allocations: 33.45 kB / 4.407 GB, free: 122.2 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003016/7.739, allocations: 0.5842 MB / 4.408 GB, free: 121.9 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002769/7.739, allocations: 353.7 kB / 4.408 GB, free: 121.6 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.928e-05/7.739, allocations: 0 / 4.408 GB, free: 121.6 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.254e-05/7.739, allocations: 352.4 kB / 4.409 GB, free: 121.3 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005007/7.74, allocations: 388 kB / 4.409 GB, free: 121.3 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000661/7.74, allocations: 0.7727 MB / 4.41 GB, free: 120.9 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000793/7.741, allocations: 0.5634 MB / 4.41 GB, free: 120.8 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/7.741, allocations: 5.719 kB / 4.41 GB, free: 120.8 MB / 0.9636 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.001837/7.743, allocations: 1.278 MB / 4.412 GB, free: 120.7 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005628/7.744, allocations: 3.64 MB / 4.415 GB, free: 116.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.79e-05/7.744, allocations: 9.188 kB / 4.415 GB, free: 116.9 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.258e-05/7.744, allocations: 17.78 kB / 4.415 GB, free: 116.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/7.745, allocations: 287 kB / 4.416 GB, free: 116.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.324e-05/7.745, allocations: 20.25 kB / 4.416 GB, free: 116.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001628/7.746, allocations: 147.4 kB / 4.416 GB, free: 116.9 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/7.747, allocations: 51.09 kB / 4.416 GB, free: 116.9 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 8.536e-06/7.747, allocations: 4.219 kB / 4.416 GB, free: 116.9 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001522/7.748, allocations: 1.084 MB / 4.417 GB, free: 116.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/7.748, allocations: 11.5 kB / 4.417 GB, free: 116.8 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/7.748, allocations: 12.75 kB / 4.417 GB, free: 116.8 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/7.749, allocations: 281.4 kB / 4.417 GB, free: 116.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.858e-05/7.749, allocations: 22.34 kB / 4.417 GB, free: 116.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001699/7.751, allocations: 148.6 kB / 4.417 GB, free: 116.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/7.751, allocations: 52.91 kB / 4.417 GB, free: 116.8 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (150): * Single equations (assignments): 150 * 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.0002525/7.751, allocations: 147.6 kB / 4.417 GB, free: 116.7 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002863/7.752, allocations: 152.4 kB / 4.418 GB, free: 116.6 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001987/7.754, allocations: 1.078 MB / 4.419 GB, free: 116.5 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/7.754, allocations: 10.12 kB / 4.419 GB, free: 116.5 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/7.754, allocations: 2.094 kB / 4.419 GB, free: 116.5 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001472/7.755, allocations: 1.031 MB / 4.42 GB, free: 116.2 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004395/7.76, allocations: 2.555 MB / 4.422 GB, free: 115.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.401e-06/7.76, allocations: 5.844 kB / 4.422 GB, free: 115.8 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001319/7.761, allocations: 253.5 kB / 4.422 GB, free: 115.8 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.81e-05/7.761, allocations: 6.031 kB / 4.422 GB, free: 115.8 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.508e-05/7.761, allocations: 19.77 kB / 4.422 GB, free: 115.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-05/7.761, allocations: 5.312 kB / 4.422 GB, free: 115.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/7.761, allocations: 2.188 kB / 4.422 GB, free: 115.8 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002609/7.764, allocations: 1.823 MB / 4.424 GB, free: 114.9 MB / 0.9636 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004128/7.768, allocations: 2.946 MB / 4.427 GB, free: 113.2 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007493/7.769, allocations: 322.7 kB / 4.427 GB, free: 113 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003/7.769, allocations: 13.19 kB / 4.427 GB, free: 113 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001466/7.77, allocations: 134.6 kB / 4.428 GB, free: 113 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/7.77, allocations: 55.97 kB / 4.428 GB, free: 113 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.221e-05/7.771, allocations: 37.44 kB / 4.428 GB, free: 112.9 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.001025/7.772, allocations: 0.6627 MB / 4.428 GB, free: 112.7 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.005361/7.777, allocations: 1.699 MB / 4.43 GB, free: 111.7 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 102 * 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.00394/7.781, allocations: 3.347 MB / 4.433 GB, free: 110.4 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002305/7.783, allocations: 1.613 MB / 4.435 GB, free: 109.8 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/7.783, allocations: 0 / 4.435 GB, free: 109.8 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0005841/7.784, allocations: 486.2 kB / 4.435 GB, free: 109.6 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004152/7.788, allocations: 0.8238 MB / 4.436 GB, free: 109.5 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00547/7.793, allocations: 2.779 MB / 4.439 GB, free: 108.6 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001519/7.795, allocations: 1.635 MB / 4.44 GB, free: 107.8 MB / 0.9636 GB Notification: Performance of SimCode: time 8.21e-07/7.795, allocations: 0 / 4.44 GB, free: 107.8 MB / 0.9636 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolume_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-09 Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolume.fmu > Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)