Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater",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.1.4-maint.8.1.x/package.mo): time 1.601/1.601, allocations: 289.8 MB / 297.1 MB, free: 6.66 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.001226/0.001226, allocations: 181.3 kB / 366.3 MB, free: 1.957 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.59/1.59, allocations: 205.1 MB / 0.6256 GB, free: 5.797 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.001048/0.001048, allocations: 88.98 kB / 0.7395 GB, free: 39.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.315/0.3161, allocations: 122.4 MB / 0.8591 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8131/1.129, allocations: 116.3 MB / 0.9726 GB, free: 68.29 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9942/2.123, allocations: 400.9 MB / 1.364 GB, free: 83.71 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002866/2.124, allocations: 93.73 kB / 1.364 GB, free: 83.66 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 1.206/3.33, allocations: 243.1 MB / 1.602 GB, free: 199.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/3.33, allocations: 11.38 kB / 1.602 GB, free: 199.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004867/3.33, allocations: 142.3 kB / 1.602 GB, free: 199 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01799/3.348, allocations: 7.626 MB / 1.609 GB, free: 198.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.953e-05/3.348, allocations: 27.69 kB / 1.609 GB, free: 198.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001387/3.348, allocations: 47.31 kB / 1.609 GB, free: 198.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001205/3.35, allocations: 0.6594 MB / 1.61 GB, free: 198.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/3.351, allocations: 0.8721 MB / 1.611 GB, free: 198.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.943e-05/3.351, allocations: 0 / 1.611 GB, free: 198.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.027e-05/3.351, allocations: 3.938 kB / 1.611 GB, free: 198.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.354e-05/3.351, allocations: 34.12 kB / 1.611 GB, free: 198.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00527/3.356, allocations: 4.494 MB / 1.615 GB, free: 195.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003614/3.357, allocations: 309.3 kB / 1.616 GB, free: 195.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002993/3.357, allocations: 256.8 kB / 1.616 GB, free: 195.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000371/3.358, allocations: 431.8 kB / 1.616 GB, free: 195.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/3.358, allocations: 38.67 kB / 1.616 GB, free: 195.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=40): time 4.048e-06/3.358, allocations: 0 / 1.616 GB, free: 195.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=40): time 0.001337/3.359, allocations: 0.5562 MB / 1.617 GB, free: 195.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.454e-05/3.359, allocations: 55.19 kB / 1.617 GB, free: 195.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009161/3.36, allocations: 0.7816 MB / 1.618 GB, free: 195 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.576e-05/3.36, allocations: 25.7 kB / 1.618 GB, free: 194.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000241/3.36, allocations: 383.2 kB / 1.618 GB, free: 194.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001381/3.36, allocations: 143.2 kB / 1.618 GB, free: 194.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.095e-05/3.36, allocations: 0 / 1.618 GB, free: 194.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.48e-05/3.36, allocations: 324.7 kB / 1.618 GB, free: 194.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000254/3.361, allocations: 219.4 kB / 1.619 GB, free: 194.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003526/3.361, allocations: 432.5 kB / 1.619 GB, free: 194 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005049/3.362, allocations: 324.3 kB / 1.619 GB, free: 194 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/3.362, allocations: 0 / 1.619 GB, free: 194 MB / 0.948 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001319/3.363, allocations: 0.7592 MB / 1.62 GB, free: 193.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007077/3.364, allocations: 2.183 MB / 1.622 GB, free: 191.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/3.364, allocations: 8.312 kB / 1.622 GB, free: 191.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000256/3.364, allocations: 56.22 kB / 1.622 GB, free: 191.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004327/3.364, allocations: 116 kB / 1.622 GB, free: 191.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005954/3.365, allocations: 0.6408 MB / 1.623 GB, free: 191.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001049/3.366, allocations: 86.14 kB / 1.623 GB, free: 191.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.85e-05/3.366, allocations: 32.58 kB / 1.623 GB, free: 191.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.896e-06/3.366, allocations: 7.844 kB / 1.623 GB, free: 191.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001023/3.367, allocations: 0.6189 MB / 1.624 GB, free: 191.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/3.367, allocations: 7.219 kB / 1.624 GB, free: 191.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001611/3.367, allocations: 57.36 kB / 1.624 GB, free: 191.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003237/3.368, allocations: 110.4 kB / 1.624 GB, free: 191.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001834/3.37, allocations: 1.58 MB / 1.625 GB, free: 189.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008902/3.37, allocations: 87.47 kB / 1.626 GB, free: 189.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.667e-05/3.37, allocations: 31 kB / 1.626 GB, free: 189.8 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002344/3.371, allocations: 125 kB / 1.626 GB, free: 189.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001798/3.371, allocations: 89.03 kB / 1.626 GB, free: 189.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001321/3.372, allocations: 0.633 MB / 1.626 GB, free: 189.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.938e-06/3.372, allocations: 6.531 kB / 1.626 GB, free: 189.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/3.372, allocations: 0 / 1.626 GB, free: 189.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008117/3.373, allocations: 0.8063 MB / 1.627 GB, free: 189.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002484/3.376, allocations: 1.566 MB / 1.629 GB, free: 188.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/3.376, allocations: 0 / 1.629 GB, free: 188.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003478/3.376, allocations: 78.83 kB / 1.629 GB, free: 188.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.568e-05/3.376, allocations: 31.38 kB / 1.629 GB, free: 188.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.491e-05/3.376, allocations: 7.688 kB / 1.629 GB, free: 188.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003034/3.376, allocations: 0.5716 MB / 1.629 GB, free: 188.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/3.376, allocations: 0 / 1.629 GB, free: 188.2 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001165/3.378, allocations: 0.9874 MB / 1.63 GB, free: 187.9 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001598/3.379, allocations: 1.671 MB / 1.632 GB, free: 187.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005224/3.38, allocations: 262.1 kB / 1.632 GB, free: 187.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/3.38, allocations: 3.781 kB / 1.632 GB, free: 187.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000611/3.381, allocations: 60.06 kB / 1.632 GB, free: 187.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.665e-05/3.381, allocations: 28.8 kB / 1.632 GB, free: 187.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.958e-05/3.381, allocations: 22.83 kB / 1.632 GB, free: 187.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0006989/3.381, allocations: 0.6123 MB / 1.633 GB, free: 187 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003489/3.385, allocations: 0.6376 MB / 1.634 GB, free: 186.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009545/3.386, allocations: 419.5 kB / 1.634 GB, free: 186.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001674/3.387, allocations: 0.9735 MB / 1.635 GB, free: 186.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/3.388, allocations: 0 / 1.635 GB, free: 186.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003437/3.388, allocations: 237.8 kB / 1.635 GB, free: 186.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002477/3.39, allocations: 0.4971 MB / 1.636 GB, free: 186.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003459/3.394, allocations: 1.643 MB / 1.637 GB, free: 186.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001117/3.395, allocations: 1.334 MB / 1.639 GB, free: 185.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.603e-06/3.395, allocations: 0 / 1.639 GB, free: 185.6 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe 2>&1)