Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.201/2.201, allocations: 387.2 MB / 394.5 MB, free: 13.71 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 185.2 kB / 487 MB, free: 5.375 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 221.3 MB / 0.7819 GB, free: 1.367 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009597/0.0009595, allocations: 98.56 kB / 0.9213 GB, free: 2.605 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6947/0.6957, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/1.001, allocations: 142.3 MB / 1.205 GB, free: 26.12 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.572/5.573, allocations: 1.931 GB / 3.137 GB, free: 395.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002468/5.573, allocations: 95.83 kB / 3.137 GB, free: 395.6 MB / 1.151 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 4.553/10.13, allocations: 1.362 GB / 4.498 GB, free: 179.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.408e-05/10.13, allocations: 6.5 kB / 4.498 GB, free: 179.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00425/10.13, allocations: 0.537 MB / 4.499 GB, free: 179.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004154/10.14, allocations: 1.461 MB / 4.5 GB, free: 179 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001599/10.14, allocations: 122.8 kB / 4.5 GB, free: 178.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004873/10.14, allocations: 87.97 kB / 4.5 GB, free: 178.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002638/10.14, allocations: 1.231 MB / 4.502 GB, free: 178.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002995/10.14, allocations: 1.487 MB / 4.503 GB, free: 178.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.245e-05/10.14, allocations: 3.812 kB / 4.503 GB, free: 178.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001708/10.14, allocations: 0 / 4.503 GB, free: 178.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-05/10.14, allocations: 62.62 kB / 4.503 GB, free: 178.7 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01059/10.15, allocations: 8.412 MB / 4.511 GB, free: 173.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007558/10.15, allocations: 0.5084 MB / 4.512 GB, free: 173.7 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006323/10.15, allocations: 0.4938 MB / 4.512 GB, free: 173.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00062/10.15, allocations: 415.1 kB / 4.513 GB, free: 173.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.741e-05/10.15, allocations: 50.47 kB / 4.513 GB, free: 173.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=96): time 2.805e-06/10.15, allocations: 2.812 kB / 4.513 GB, free: 173.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=102): time 0.006698/10.16, allocations: 2.659 MB / 4.515 GB, free: 172.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.843e-05/10.16, allocations: 63.75 kB / 4.516 GB, free: 172.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001374/10.16, allocations: 0.8901 MB / 4.516 GB, free: 172.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001189/10.16, allocations: 29.39 kB / 4.516 GB, free: 172.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003189/10.16, allocations: 0.5901 MB / 4.517 GB, free: 172.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002918/10.16, allocations: 352.8 kB / 4.517 GB, free: 171.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.222e-05/10.16, allocations: 3.156 kB / 4.517 GB, free: 171.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.742e-05/10.16, allocations: 352.5 kB / 4.518 GB, free: 171.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005151/10.16, allocations: 387.9 kB / 4.518 GB, free: 171.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007684/10.16, allocations: 0.7652 MB / 4.519 GB, free: 171.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009107/10.17, allocations: 0.5644 MB / 4.519 GB, free: 171.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/10.17, allocations: 3.906 kB / 4.519 GB, free: 171.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002206/10.17, allocations: 1.29 MB / 4.521 GB, free: 171 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009672/10.17, allocations: 3.635 MB / 4.524 GB, free: 167.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-05/10.17, allocations: 9.906 kB / 4.524 GB, free: 167.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.617e-05/10.17, allocations: 20.83 kB / 4.524 GB, free: 167.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/10.17, allocations: 289.3 kB / 4.524 GB, free: 167.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.912e-05/10.17, allocations: 14.94 kB / 4.524 GB, free: 167.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002169/10.17, allocations: 169.8 kB / 4.525 GB, free: 167.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001363/10.17, allocations: 51.5 kB / 4.525 GB, free: 167.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.437e-06/10.17, allocations: 3.906 kB / 4.525 GB, free: 167.3 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001723/10.17, allocations: 1.089 MB / 4.526 GB, free: 167.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/10.17, allocations: 11.5 kB / 4.526 GB, free: 167.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/10.17, allocations: 14.16 kB / 4.526 GB, free: 167.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/10.18, allocations: 280.3 kB / 4.526 GB, free: 167.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.963e-05/10.18, allocations: 23.53 kB / 4.526 GB, free: 167.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001912/10.18, allocations: 160.4 kB / 4.526 GB, free: 167.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/10.18, allocations: 53.97 kB / 4.526 GB, free: 167.3 MB / 1.167 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.0002785/10.18, allocations: 140.2 kB / 4.526 GB, free: 167.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003526/10.18, allocations: 155.3 kB / 4.527 GB, free: 167.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001987/10.18, allocations: 1.092 MB / 4.528 GB, free: 167 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/10.18, allocations: 8.844 kB / 4.528 GB, free: 167 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/10.18, allocations: 0 / 4.528 GB, free: 167 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001348/10.18, allocations: 1.035 MB / 4.529 GB, free: 166.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004762/10.19, allocations: 2.556 MB / 4.531 GB, free: 166.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/10.19, allocations: 0 / 4.531 GB, free: 166.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001254/10.19, allocations: 259 kB / 4.531 GB, free: 166.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.831e-05/10.19, allocations: 7.062 kB / 4.531 GB, free: 166.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.838e-05/10.19, allocations: 20.56 kB / 4.531 GB, free: 166.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.084e-06/10.19, allocations: 3.438 kB / 4.531 GB, free: 166.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/10.19, allocations: 6.156 kB / 4.531 GB, free: 166.4 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002554/10.19, allocations: 1.767 MB / 4.533 GB, free: 165.9 MB / 1.167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004482/10.2, allocations: 2.897 MB / 4.536 GB, free: 165.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001586/10.2, allocations: 327.5 kB / 4.536 GB, free: 164.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006125/10.2, allocations: 10.56 kB / 4.536 GB, free: 164.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002198/10.2, allocations: 134.5 kB / 4.536 GB, free: 164.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/10.2, allocations: 52.89 kB / 4.536 GB, free: 164.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001011/10.2, allocations: 41.34 kB / 4.537 GB, free: 164.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.001402/10.2, allocations: 0.6702 MB / 4.537 GB, free: 164.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.006313/10.21, allocations: 1.699 MB / 4.539 GB, free: 164.8 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m,vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.medium.Xi[1],vol2.dynBal.U,vol2.dynBal.m) * 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.00445/10.21, allocations: 3.356 MB / 4.542 GB, free: 163.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002527/10.21, allocations: 1.622 MB / 4.544 GB, free: 163.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/10.21, allocations: 2.188 kB / 4.544 GB, free: 163.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006263/10.22, allocations: 480.2 kB / 4.544 GB, free: 163.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004506/10.22, allocations: 0.8261 MB / 4.545 GB, free: 163.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006287/10.23, allocations: 2.798 MB / 4.548 GB, free: 162.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001663/10.23, allocations: 1.637 MB / 4.549 GB, free: 162.1 MB / 1.167 GB Notification: Performance of SimCode: time 8.92e-07/10.23, allocations: 3.938 kB / 4.549 GB, free: 162 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolume_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolume_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-09 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolume.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)