Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.665/2.665, allocations: 284.8 MB / 292.1 MB, free: 10.74 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.002406/0.002405, allocations: 185.2 kB / 360.3 MB, free: 7.551 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.135/2.135, allocations: 205.1 MB / 0.6187 GB, free: 13.23 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.002975/0.002975, allocations: 88.55 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2889/0.2919, allocations: 121.4 MB / 0.8502 GB, free: 3.934 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6693/0.9612, allocations: 115.2 MB / 0.9627 GB, free: 78.42 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.415/6.376, allocations: 2.086 GB / 3.048 GB, free: 271.6 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003675/6.377, allocations: 89.67 kB / 3.048 GB, free: 271.6 MB / 0.9323 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 6.252/12.63, allocations: 1.34 GB / 4.388 GB, free: 43.86 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.569e-05/12.63, allocations: 8.5 kB / 4.388 GB, free: 43.86 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008858/12.64, allocations: 0.532 MB / 4.389 GB, free: 43.32 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008847/12.65, allocations: 1.438 MB / 4.39 GB, free: 41.83 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003245/12.65, allocations: 122.2 kB / 4.39 GB, free: 41.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007321/12.65, allocations: 91.94 kB / 4.391 GB, free: 41.61 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006316/12.65, allocations: 1.228 MB / 4.392 GB, free: 40.38 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007617/12.66, allocations: 1.479 MB / 4.393 GB, free: 38.82 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001379/12.66, allocations: 11.98 kB / 4.393 GB, free: 38.81 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008279/12.66, allocations: 4 kB / 4.393 GB, free: 38.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002509/12.66, allocations: 50.7 kB / 4.393 GB, free: 38.75 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01913/12.68, allocations: 8.227 MB / 4.401 GB, free: 29.86 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0016/12.68, allocations: 0.5486 MB / 4.402 GB, free: 29.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001226/12.68, allocations: 0.5019 MB / 4.402 GB, free: 28.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009845/12.69, allocations: 409.1 kB / 4.403 GB, free: 28.33 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.362e-05/12.69, allocations: 47.34 kB / 4.403 GB, free: 28.27 MB / 0.948 GB Notification: Performance of pre-optimization done (n=96): time 4.779e-06/12.69, allocations: 0 / 4.403 GB, free: 28.27 MB / 0.948 GB Notification: Performance of matching and sorting (n=102): time 0.01182/12.7, allocations: 2.65 MB / 4.405 GB, free: 25.56 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.204e-05/12.7, allocations: 64.41 kB / 4.405 GB, free: 25.49 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002053/12.7, allocations: 0.8938 MB / 4.406 GB, free: 24.59 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003508/12.7, allocations: 25.7 kB / 4.406 GB, free: 24.55 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004238/12.7, allocations: 0.5859 MB / 4.407 GB, free: 23.96 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005772/12.7, allocations: 350.8 kB / 4.407 GB, free: 23.61 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.85e-05/12.7, allocations: 0 / 4.407 GB, free: 23.61 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001188/12.7, allocations: 353.9 kB / 4.408 GB, free: 23.26 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001143/12.7, allocations: 386.5 kB / 4.408 GB, free: 22.88 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001291/12.7, allocations: 0.7717 MB / 4.409 GB, free: 21.93 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001736/12.71, allocations: 0.5632 MB / 4.409 GB, free: 21.37 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.076e-05/12.71, allocations: 8 kB / 4.409 GB, free: 21.36 MB / 0.948 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.00384/12.71, allocations: 1.282 MB / 4.41 GB, free: 20.07 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007669/12.71, allocations: 3.636 MB / 4.414 GB, free: 16.21 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.207e-05/12.71, allocations: 8 kB / 4.414 GB, free: 16.21 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.43e-05/12.71, allocations: 16 kB / 4.414 GB, free: 16.19 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002558/12.71, allocations: 283.5 kB / 4.414 GB, free: 15.91 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.669e-05/12.71, allocations: 19.94 kB / 4.414 GB, free: 15.89 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003492/12.72, allocations: 155.5 kB / 4.414 GB, free: 15.74 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003238/12.72, allocations: 55.98 kB / 4.415 GB, free: 15.69 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/12.72, allocations: 4 kB / 4.415 GB, free: 15.68 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003114/12.72, allocations: 1.08 MB / 4.416 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.752e-05/12.72, allocations: 11.98 kB / 4.416 GB, free: 14.59 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.614e-05/12.72, allocations: 16 kB / 4.416 GB, free: 14.58 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002331/12.72, allocations: 279.6 kB / 4.416 GB, free: 14.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.369e-05/12.72, allocations: 19.92 kB / 4.416 GB, free: 14.29 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003324/12.73, allocations: 151.6 kB / 4.416 GB, free: 14.14 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002973/12.73, allocations: 52 kB / 4.416 GB, free: 14.09 MB / 0.948 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.0004263/12.73, allocations: 148.5 kB / 4.416 GB, free: 13.93 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004987/12.73, allocations: 154.2 kB / 4.416 GB, free: 13.78 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003498/12.73, allocations: 1.073 MB / 4.417 GB, free: 12.69 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.628e-05/12.73, allocations: 12 kB / 4.417 GB, free: 12.68 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/12.73, allocations: 0 / 4.417 GB, free: 12.68 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002266/12.73, allocations: 1.03 MB / 4.418 GB, free: 11.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008264/12.74, allocations: 2.564 MB / 4.421 GB, free: 8.961 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.429e-05/12.74, allocations: 4 kB / 4.421 GB, free: 8.957 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002742/12.74, allocations: 252 kB / 4.421 GB, free: 8.711 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.914e-05/12.74, allocations: 12 kB / 4.421 GB, free: 8.699 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002034/12.74, allocations: 15.98 kB / 4.421 GB, free: 8.684 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.009e-05/12.74, allocations: 4 kB / 4.421 GB, free: 8.68 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.635e-06/12.74, allocations: 7.938 kB / 4.421 GB, free: 8.672 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004332/12.75, allocations: 1.815 MB / 4.423 GB, free: 6.77 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006262/12.76, allocations: 2.943 MB / 4.426 GB, free: 3.73 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001494/12.76, allocations: 323.1 kB / 4.426 GB, free: 3.395 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004691/12.76, allocations: 11.98 kB / 4.426 GB, free: 3.383 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002993/12.76, allocations: 135.5 kB / 4.426 GB, free: 3.25 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002506/12.76, allocations: 52.7 kB / 4.426 GB, free: 3.199 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001373/12.76, allocations: 39.98 kB / 4.426 GB, free: 3.16 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001473/12.76, allocations: 0.6679 MB / 4.427 GB, free: 2.492 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.009256/12.77, allocations: 1.699 MB / 4.429 GB, free: 0.793 MB / 0.948 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.006698/12.78, allocations: 3.348 MB / 4.432 GB, free: 13.12 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.00478/12.78, allocations: 1.612 MB / 4.434 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.968e-05/12.78, allocations: 8.25 kB / 4.434 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001325/12.78, allocations: 482.6 kB / 4.434 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009299/12.79, allocations: 0.8332 MB / 4.435 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01551/12.81, allocations: 2.778 MB / 4.438 GB, free: 7.359 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00294/12.81, allocations: 1.626 MB / 4.439 GB, free: 5.703 MB / 0.9636 GB Notification: Performance of SimCode: time 5.16e-06/12.81, allocations: 0 / 4.439 GB, free: 5.703 MB / 0.9636 GB (rm -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolume_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-09 Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolume.fmu > Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)