Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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: translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") [: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.186/1.186, allocations: 249.4 MB / 256.7 MB, free: 7.098 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001322/0.001322, allocations: 196.8 kB / 316 MB, free: 3.562 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.107/1.107, allocations: 205.1 MB / 0.5667 GB, free: 15.69 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.0009106/0.0009106, allocations: 88.31 kB / 0.671 GB, free: 4.816 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.202e-06/6.212e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1618, allocations: 106.3 MB / 0.8846 GB, free: 12.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.76/3.922, allocations: 2.19 GB / 3.074 GB, free: 216 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001789/3.923, allocations: 83.95 kB / 3.074 GB, free: 215.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.7486/4.671, allocations: 259.3 MB / 3.327 GB, free: 233.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.726e-05/4.671, allocations: 20.78 kB / 3.327 GB, free: 233.4 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.001412/4.673, allocations: 0.923 MB / 3.328 GB, free: 232.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/4.673, allocations: 7.406 kB / 3.328 GB, free: 232.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009178/4.674, allocations: 171 kB / 3.328 GB, free: 232.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007646/4.674, allocations: 0.5545 MB / 3.329 GB, free: 232.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/4.674, allocations: 22.75 kB / 3.329 GB, free: 232.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.581e-05/4.674, allocations: 28.72 kB / 3.329 GB, free: 232.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006562/4.675, allocations: 464.3 kB / 3.33 GB, free: 232.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007736/4.676, allocations: 0.552 MB / 3.33 GB, free: 232.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/4.676, allocations: 3.281 kB / 3.33 GB, free: 232.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.345e-05/4.676, allocations: 3.781 kB / 3.33 GB, free: 232.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.702e-05/4.676, allocations: 23.08 kB / 3.33 GB, free: 232.6 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00261/4.679, allocations: 2.139 MB / 3.332 GB, free: 231.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003031/4.679, allocations: 203.7 kB / 3.332 GB, free: 231.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/4.679, allocations: 111.3 kB / 3.332 GB, free: 231.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.281e-05/4.679, allocations: 7.734 kB / 3.332 GB, free: 231.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.771e-05/4.679, allocations: 41.59 kB / 3.333 GB, free: 231.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=20): time 2.134e-06/4.679, allocations: 3.797 kB / 3.333 GB, free: 231.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=20): time 0.0006991/4.68, allocations: 311.4 kB / 3.333 GB, free: 231.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.597e-05/4.68, allocations: 79.11 kB / 3.333 GB, free: 231.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003225/4.68, allocations: 372.1 kB / 3.333 GB, free: 231.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.909e-05/4.68, allocations: 32.31 kB / 3.333 GB, free: 231.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/4.68, allocations: 303.6 kB / 3.334 GB, free: 231.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.247e-05/4.68, allocations: 63.39 kB / 3.334 GB, free: 231.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.471e-05/4.68, allocations: 0 / 3.334 GB, free: 231.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.347e-05/4.681, allocations: 355.8 kB / 3.334 GB, free: 230.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/4.681, allocations: 105.3 kB / 3.334 GB, free: 230.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001625/4.681, allocations: 203.6 kB / 3.334 GB, free: 230.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001671/4.681, allocations: 145.1 kB / 3.334 GB, free: 230.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/4.681, allocations: 0 / 3.334 GB, free: 230.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006255/4.682, allocations: 436.7 kB / 3.335 GB, free: 230.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/4.682, allocations: 7.062 kB / 3.335 GB, free: 230.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/4.682, allocations: 3.094 kB / 3.335 GB, free: 230.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002869/4.682, allocations: 90.55 kB / 3.335 GB, free: 230.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003107/4.682, allocations: 78.17 kB / 3.335 GB, free: 230.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001784/4.684, allocations: 2.799 MB / 3.338 GB, free: 228.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004559/4.685, allocations: 56.92 kB / 3.338 GB, free: 228.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.387e-05/4.685, allocations: 10.53 kB / 3.338 GB, free: 228.1 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 32 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 1} Notification: Performance of prepare postOptimizeDAE: time 8.863e-05/4.685, allocations: 112.9 kB / 3.338 GB, free: 228 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.57e-05/4.685, allocations: 47.81 kB / 3.338 GB, free: 228 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.417e-05/4.685, allocations: 52.08 kB / 3.338 GB, free: 228 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/4.685, allocations: 7.484 kB / 3.338 GB, free: 228 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/4.685, allocations: 0 / 3.338 GB, free: 228 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004337/4.685, allocations: 496.2 kB / 3.338 GB, free: 227.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009183/4.686, allocations: 0.8162 MB / 3.339 GB, free: 227.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/4.686, allocations: 0 / 3.339 GB, free: 227.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002024/4.686, allocations: 50.27 kB / 3.339 GB, free: 227.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001921/4.687, allocations: 68.14 kB / 3.339 GB, free: 227.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/4.687, allocations: 0 / 3.339 GB, free: 227.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001027/4.688, allocations: 1.525 MB / 3.341 GB, free: 226.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/4.688, allocations: 3.844 kB / 3.341 GB, free: 226.1 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004488/4.688, allocations: 420.4 kB / 3.341 GB, free: 225.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001779/4.688, allocations: 163.5 kB / 3.341 GB, free: 225.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.483e-05/4.688, allocations: 3.531 kB / 3.341 GB, free: 225.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004706/4.689, allocations: 31.8 kB / 3.341 GB, free: 225.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.082e-05/4.689, allocations: 19.72 kB / 3.341 GB, free: 225.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.082e-05/4.689, allocations: 17.38 kB / 3.342 GB, free: 225.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0002187/4.689, allocations: 283.4 kB / 3.342 GB, free: 225.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0008828/4.69, allocations: 286.3 kB / 3.342 GB, free: 225.7 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.00104/4.691, allocations: 1.082 MB / 3.343 GB, free: 225.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0005251/4.692, allocations: 458.9 kB / 3.344 GB, free: 225.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/4.692, allocations: 3.25 kB / 3.344 GB, free: 225.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001944/4.692, allocations: 203.7 kB / 3.344 GB, free: 225.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/4.693, allocations: 241.4 kB / 3.344 GB, free: 225.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/4.694, allocations: 0.6637 MB / 3.345 GB, free: 225 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003799/4.694, allocations: 0.9622 MB / 3.346 GB, free: 224.3 MB / 0.8698 GB Notification: Performance of SimCode: time 2.71e-07/4.694, allocations: 0 / 3.346 GB, free: 224.3 MB / 0.8698 GB Notification: Performance of Templates: time 0.01879/4.713, allocations: 14.97 MB / 3.36 GB, free: 223.7 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches