Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.238/1.238, allocations: 249.4 MB / 256.7 MB, free: 15.81 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001094/0.001094, allocations: 173 kB / 316 MB, free: 7.203 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.366/1.366, allocations: 205.1 MB / 0.5667 GB, free: 23.58 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007942/0.0007942, allocations: 81.39 kB / 0.671 GB, free: 0.8711 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.2101/0.2109, allocations: 112.5 MB / 0.7808 GB, free: 300 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4035/0.6144, allocations: 106.3 MB / 0.8846 GB, free: 76.24 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.709/4.323, allocations: 2.204 GB / 3.089 GB, free: 319.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000221/4.323, allocations: 83.31 kB / 3.089 GB, free: 319.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: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 3.45/7.774, allocations: 1.303 GB / 4.392 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/7.774, allocations: 11.98 kB / 4.392 GB, free: 12.97 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003974/7.778, allocations: 0.5358 MB / 4.392 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004549/7.782, allocations: 1.465 MB / 4.394 GB, free: 10.91 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001771/7.783, allocations: 130.2 kB / 4.394 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000486/7.783, allocations: 92 kB / 4.394 GB, free: 10.68 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003006/7.786, allocations: 1.263 MB / 4.395 GB, free: 9.414 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003666/7.79, allocations: 1.478 MB / 4.397 GB, free: 7.883 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.218e-05/7.79, allocations: 0 / 4.397 GB, free: 7.883 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002597/7.79, allocations: 4 kB / 4.397 GB, free: 7.879 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.959e-05/7.79, allocations: 70.66 kB / 4.397 GB, free: 7.812 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3469/8.137, allocations: 7.666 MB / 4.404 GB, free: 179.5 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/8.138, allocations: 0.5905 MB / 4.405 GB, free: 179.5 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006166/8.139, allocations: 0.5152 MB / 4.405 GB, free: 179.5 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005741/8.139, allocations: 403.9 kB / 4.406 GB, free: 179.1 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/8.139, allocations: 49.62 kB / 4.406 GB, free: 179 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=105): time 3.456e-06/8.139, allocations: 0 / 4.406 GB, free: 179 MB / 0.9167 GB Notification: Performance of matching and sorting (n=111): time 0.006504/8.146, allocations: 2.869 MB / 4.409 GB, free: 178.6 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/8.146, allocations: 62.31 kB / 4.409 GB, free: 178.6 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001185/8.147, allocations: 0.8902 MB / 4.409 GB, free: 178.4 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 8.398e-05/8.147, allocations: 29.64 kB / 4.409 GB, free: 178.4 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002908/8.148, allocations: 0.5724 MB / 4.41 GB, free: 178.1 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002876/8.148, allocations: 390 kB / 4.41 GB, free: 177.9 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.792e-05/8.148, allocations: 3.844 kB / 4.41 GB, free: 177.9 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.153e-05/8.148, allocations: 351.2 kB / 4.411 GB, free: 177.6 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005259/8.149, allocations: 399 kB / 4.411 GB, free: 177.6 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00067/8.149, allocations: 0.7544 MB / 4.412 GB, free: 177.2 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000946/8.15, allocations: 0.6139 MB / 4.412 GB, free: 177.2 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/8.15, allocations: 0 / 4.412 GB, free: 177.2 MB / 0.9167 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.001895/8.152, allocations: 1.345 MB / 4.414 GB, free: 177.1 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005243/8.153, allocations: 3.105 MB / 4.417 GB, free: 173.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/8.153, allocations: 8.594 kB / 4.417 GB, free: 173.9 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.589e-05/8.153, allocations: 19.78 kB / 4.417 GB, free: 173.9 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00122/8.154, allocations: 289 kB / 4.417 GB, free: 173.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.521e-05/8.154, allocations: 26 kB / 4.417 GB, free: 173.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00162/8.156, allocations: 149.9 kB / 4.417 GB, free: 173.9 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.8e-05/8.156, allocations: 53.77 kB / 4.417 GB, free: 173.9 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 6.522e-06/8.156, allocations: 3.688 kB / 4.417 GB, free: 173.9 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001603/8.157, allocations: 1.145 MB / 4.418 GB, free: 173.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/8.157, allocations: 10.45 kB / 4.418 GB, free: 173.9 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/8.157, allocations: 15 kB / 4.418 GB, free: 173.9 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001106/8.158, allocations: 286.7 kB / 4.419 GB, free: 173.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/8.159, allocations: 20.89 kB / 4.419 GB, free: 173.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/8.16, allocations: 151.7 kB / 4.419 GB, free: 173.9 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.463e-05/8.16, allocations: 49.59 kB / 4.419 GB, free: 173.9 MB / 0.9167 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.0002502/8.16, allocations: 148.7 kB / 4.419 GB, free: 173.8 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001988/8.161, allocations: 158.2 kB / 4.419 GB, free: 173.7 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001915/8.162, allocations: 1.172 MB / 4.42 GB, free: 173.6 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/8.162, allocations: 9.812 kB / 4.42 GB, free: 173.6 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/8.163, allocations: 8.594 kB / 4.42 GB, free: 173.6 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001296/8.164, allocations: 1.107 MB / 4.421 GB, free: 173.3 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004068/8.168, allocations: 2.682 MB / 4.424 GB, free: 173 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/8.168, allocations: 0 / 4.424 GB, free: 173 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00128/8.169, allocations: 272.9 kB / 4.424 GB, free: 173 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.146e-05/8.169, allocations: 5.656 kB / 4.424 GB, free: 173 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-05/8.169, allocations: 19.12 kB / 4.424 GB, free: 173 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.314e-06/8.169, allocations: 10.52 kB / 4.424 GB, free: 173 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/8.169, allocations: 8.219 kB / 4.424 GB, free: 172.9 MB / 0.9167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002217/8.172, allocations: 1.935 MB / 4.426 GB, free: 172.5 MB / 0.9167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003451/8.175, allocations: 3.076 MB / 4.429 GB, free: 171.7 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007841/8.176, allocations: 347.1 kB / 4.43 GB, free: 171.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002142/8.176, allocations: 10.3 kB / 4.43 GB, free: 171.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001362/8.177, allocations: 144.8 kB / 4.43 GB, free: 171.5 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/8.178, allocations: 58.38 kB / 4.43 GB, free: 171.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.921e-05/8.178, allocations: 46.58 kB / 4.43 GB, free: 171.5 MB / 0.9167 GB Notification: Performance of sort global known variables: time 0.0008308/8.178, allocations: 0.664 MB / 4.431 GB, free: 171.4 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.004856/8.183, allocations: 1.725 MB / 4.432 GB, free: 171.4 MB / 0.9167 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.003366/8.187, allocations: 3.343 MB / 4.435 GB, free: 170.2 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.002146/8.189, allocations: 1.672 MB / 4.437 GB, free: 170.1 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/8.189, allocations: 0 / 4.437 GB, free: 170.1 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005509/8.189, allocations: 0.5071 MB / 4.438 GB, free: 170.1 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003691/8.193, allocations: 0.8247 MB / 4.438 GB, free: 170.1 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004831/8.198, allocations: 3.007 MB / 4.441 GB, free: 169.4 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001186/8.199, allocations: 1.665 MB / 4.443 GB, free: 168.7 MB / 0.9167 GB Notification: Performance of SimCode: time 4.41e-07/8.199, allocations: 0 / 4.443 GB, free: 168.7 MB / 0.9167 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolume_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-09 Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolume.fmu > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)