Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.32/2.32, allocations: 390.4 MB / 397.7 MB, free: 11.23 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.001169/0.001169, allocations: 181.3 kB / 490.8 MB, free: 1.93 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.528/1.528, allocations: 221.4 MB / 0.7863 GB, free: 13.67 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009991/0.0009987, allocations: 100.6 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.7608/0.7619, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3296/1.091, allocations: 143 MB / 1.212 GB, free: 40.02 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.249/6.341, allocations: 1.932 GB / 3.144 GB, free: 383.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003116/6.341, allocations: 91.89 kB / 3.144 GB, free: 383.1 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 5.293/11.63, allocations: 1.362 GB / 4.505 GB, free: 180.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.822e-05/11.63, allocations: 10.53 kB / 4.505 GB, free: 180.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004695/11.64, allocations: 0.5374 MB / 4.506 GB, free: 180.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004906/11.64, allocations: 1.459 MB / 4.507 GB, free: 179.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001457/11.64, allocations: 121.6 kB / 4.508 GB, free: 179.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002414/11.64, allocations: 87.81 kB / 4.508 GB, free: 179.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002782/11.65, allocations: 1.232 MB / 4.509 GB, free: 179.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002498/11.65, allocations: 1.485 MB / 4.51 GB, free: 179.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.051e-05/11.65, allocations: 5.188 kB / 4.51 GB, free: 179.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001382/11.65, allocations: 3.25 kB / 4.51 GB, free: 179.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.148e-05/11.65, allocations: 59.16 kB / 4.51 GB, free: 179.5 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01569/11.67, allocations: 8.408 MB / 4.519 GB, free: 174.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001164/11.67, allocations: 0.5161 MB / 4.519 GB, free: 174.5 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008111/11.67, allocations: 0.4934 MB / 4.52 GB, free: 174.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008769/11.67, allocations: 412.2 kB / 4.52 GB, free: 174.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.231e-05/11.67, allocations: 45.56 kB / 4.52 GB, free: 174 MB / 1.167 GB Notification: Performance of pre-optimization done (n=96): time 4.138e-06/11.67, allocations: 2.078 kB / 4.52 GB, free: 174 MB / 1.167 GB Notification: Performance of matching and sorting (n=102): time 0.009161/11.68, allocations: 2.664 MB / 4.523 GB, free: 173.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/11.68, allocations: 63.34 kB / 4.523 GB, free: 173.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001698/11.68, allocations: 0.8961 MB / 4.524 GB, free: 173.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001668/11.68, allocations: 25.7 kB / 4.524 GB, free: 173.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000485/11.68, allocations: 0.5892 MB / 4.524 GB, free: 172.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004748/11.68, allocations: 352.9 kB / 4.524 GB, free: 172.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-05/11.68, allocations: 0 / 4.524 GB, free: 172.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001672/11.68, allocations: 356 kB / 4.525 GB, free: 172.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006357/11.68, allocations: 382.7 kB / 4.525 GB, free: 172.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008788/11.68, allocations: 0.7747 MB / 4.526 GB, free: 172 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/11.68, allocations: 0.5663 MB / 4.526 GB, free: 172 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/11.68, allocations: 0 / 4.526 GB, free: 172 MB / 1.167 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002373/11.69, allocations: 1.294 MB / 4.528 GB, free: 171.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001119/11.69, allocations: 3.625 MB / 4.531 GB, free: 168.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.741e-05/11.69, allocations: 9.688 kB / 4.531 GB, free: 168.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.139e-05/11.69, allocations: 21.03 kB / 4.531 GB, free: 168.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001433/11.69, allocations: 287.4 kB / 4.532 GB, free: 168.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.763e-05/11.69, allocations: 24.56 kB / 4.532 GB, free: 168.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002278/11.69, allocations: 162.7 kB / 4.532 GB, free: 168.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001375/11.69, allocations: 56.19 kB / 4.532 GB, free: 168.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/11.69, allocations: 5.469 kB / 4.532 GB, free: 168.1 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0017/11.69, allocations: 1.082 MB / 4.533 GB, free: 168.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/11.69, allocations: 7.125 kB / 4.533 GB, free: 168.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/11.69, allocations: 17.31 kB / 4.533 GB, free: 168.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/11.69, allocations: 288.3 kB / 4.533 GB, free: 168.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.47e-05/11.69, allocations: 20.7 kB / 4.533 GB, free: 168.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002083/11.7, allocations: 156.2 kB / 4.533 GB, free: 168.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001134/11.7, allocations: 57.09 kB / 4.533 GB, free: 168.1 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.0003749/11.7, allocations: 141.5 kB / 4.534 GB, free: 168 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00031/11.7, allocations: 156.3 kB / 4.534 GB, free: 167.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002283/11.7, allocations: 1.089 MB / 4.535 GB, free: 167.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.604e-05/11.7, allocations: 8.719 kB / 4.535 GB, free: 167.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.194e-05/11.7, allocations: 3.609 kB / 4.535 GB, free: 167.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001504/11.7, allocations: 1.029 MB / 4.536 GB, free: 167.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005238/11.71, allocations: 2.549 MB / 4.538 GB, free: 167.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.867e-06/11.71, allocations: 7.875 kB / 4.538 GB, free: 167.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001678/11.71, allocations: 253.1 kB / 4.538 GB, free: 167.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-05/11.71, allocations: 3.75 kB / 4.539 GB, free: 167.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.893e-05/11.71, allocations: 17.91 kB / 4.539 GB, free: 167.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.138e-05/11.71, allocations: 13.34 kB / 4.539 GB, free: 167.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/11.71, allocations: 0 / 4.539 GB, free: 167.2 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002752/11.71, allocations: 1.771 MB / 4.54 GB, free: 166.7 MB / 1.167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004651/11.72, allocations: 2.896 MB / 4.543 GB, free: 165.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001462/11.72, allocations: 326.7 kB / 4.543 GB, free: 165.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003608/11.72, allocations: 9.578 kB / 4.543 GB, free: 165.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001877/11.72, allocations: 136.7 kB / 4.544 GB, free: 165.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002174/11.72, allocations: 57.98 kB / 4.544 GB, free: 165.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001157/11.72, allocations: 40.36 kB / 4.544 GB, free: 165.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.001589/11.72, allocations: 0.664 MB / 4.544 GB, free: 165.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.007303/11.73, allocations: 1.705 MB / 4.546 GB, free: 165.6 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.005949/11.74, allocations: 3.36 MB / 4.549 GB, free: 164.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00334/11.74, allocations: 1.617 MB / 4.551 GB, free: 164.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.09e-05/11.74, allocations: 3.609 kB / 4.551 GB, free: 164.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008066/11.74, allocations: 484.2 kB / 4.551 GB, free: 164.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005504/11.74, allocations: 0.8251 MB / 4.552 GB, free: 164.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006583/11.75, allocations: 2.8 MB / 4.555 GB, free: 163.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001481/11.75, allocations: 1.631 MB / 4.556 GB, free: 162.8 MB / 1.167 GB Notification: Performance of SimCode: time 2.665e-06/11.75, allocations: 0 / 4.556 GB, free: 162.8 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolume_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-09 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolume.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)