Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") translateModel(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.8246/0.8246, allocations: 141.8 MB / 149.1 MB, free: 1.254 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 181.3 kB / 182 MB, free: 0.5938 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 221.3 MB / 436 MB, free: 5.336 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 88.62 kB / 0.507 GB, free: 2.023 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001808/0.001808, allocations: 291.2 kB / 0.5885 GB, free: 47.12 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 8.937e-06/8.967e-06, allocations: 2.312 kB / 0.6759 GB, free: 59.48 MB / 442.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1895/0.1895, allocations: 82.78 MB / 0.7567 GB, free: 0.5781 MB / 442.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.82/5.009, allocations: 1.941 GB / 2.698 GB, free: 23.71 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002839/5.01, allocations: 83.95 kB / 2.698 GB, free: 23.63 MB / 0.6982 GB Notification: Performance of FrontEnd: time 1.036/6.046, allocations: 269.6 MB / 2.961 GB, free: 32.11 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 6.293e-05/6.046, allocations: 19.98 kB / 2.961 GB, free: 32.09 MB / 0.6982 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.002564/6.049, allocations: 0.9079 MB / 2.962 GB, free: 31.14 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/6.049, allocations: 8.031 kB / 2.962 GB, free: 31.13 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001275/6.05, allocations: 167 kB / 2.962 GB, free: 30.96 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001286/6.051, allocations: 0.5315 MB / 2.963 GB, free: 30.39 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.988e-05/6.051, allocations: 20 kB / 2.963 GB, free: 30.37 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/6.051, allocations: 31.94 kB / 2.963 GB, free: 30.34 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008809/6.052, allocations: 458.5 kB / 2.963 GB, free: 29.89 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009238/6.053, allocations: 0.5447 MB / 2.964 GB, free: 29.33 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/6.053, allocations: 0 / 2.964 GB, free: 29.33 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.724e-05/6.053, allocations: 4 kB / 2.964 GB, free: 29.32 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.583e-05/6.053, allocations: 21.31 kB / 2.964 GB, free: 29.3 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003409/6.057, allocations: 2.116 MB / 2.966 GB, free: 27.04 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003797/6.057, allocations: 222.9 kB / 2.966 GB, free: 26.82 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001462/6.057, allocations: 108.8 kB / 2.966 GB, free: 26.71 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 4.731e-05/6.057, allocations: 7.984 kB / 2.966 GB, free: 26.7 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/6.057, allocations: 34.56 kB / 2.966 GB, free: 26.66 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=20): time 1.903e-06/6.057, allocations: 0 / 2.966 GB, free: 26.66 MB / 0.6982 GB Notification: Performance of matching and sorting (n=20): time 0.000868/6.058, allocations: 321.9 kB / 2.967 GB, free: 26.33 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.825e-05/6.058, allocations: 81.09 kB / 2.967 GB, free: 26.23 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003994/6.059, allocations: 361 kB / 2.967 GB, free: 25.88 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 3.573e-05/6.059, allocations: 25.7 kB / 2.967 GB, free: 25.84 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/6.059, allocations: 302.8 kB / 2.967 GB, free: 25.54 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 5.475e-05/6.059, allocations: 67 kB / 2.967 GB, free: 25.48 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.601e-05/6.059, allocations: 0 / 2.967 GB, free: 25.48 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 9.464e-05/6.059, allocations: 346.8 kB / 2.968 GB, free: 25.13 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/6.059, allocations: 108.6 kB / 2.968 GB, free: 25.02 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001942/6.06, allocations: 204 kB / 2.968 GB, free: 24.78 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002006/6.06, allocations: 151.8 kB / 2.968 GB, free: 24.63 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/6.06, allocations: 3.906 kB / 2.968 GB, free: 24.63 MB / 0.6982 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007762/6.061, allocations: 430.6 kB / 2.968 GB, free: 24.2 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/6.061, allocations: 8.281 kB / 2.969 GB, free: 24.19 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/6.061, allocations: 0 / 2.969 GB, free: 24.19 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003653/6.061, allocations: 93.56 kB / 2.969 GB, free: 24.09 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003433/6.061, allocations: 75.84 kB / 2.969 GB, free: 24.02 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002256/6.064, allocations: 2.799 MB / 2.971 GB, free: 20.99 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005453/6.064, allocations: 55.7 kB / 2.971 GB, free: 20.93 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.989e-05/6.064, allocations: 8 kB / 2.971 GB, free: 20.93 MB / 0.6982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 0.000134/6.064, allocations: 113.8 kB / 2.972 GB, free: 20.81 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/6.064, allocations: 43.53 kB / 2.972 GB, free: 20.77 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.489e-05/6.065, allocations: 51.48 kB / 2.972 GB, free: 20.71 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/6.065, allocations: 0 / 2.972 GB, free: 20.71 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/6.065, allocations: 4.188 kB / 2.972 GB, free: 20.71 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004988/6.065, allocations: 495.3 kB / 2.972 GB, free: 20.16 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001127/6.066, allocations: 0.8133 MB / 2.973 GB, free: 19.29 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/6.066, allocations: 4 kB / 2.973 GB, free: 19.29 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002168/6.066, allocations: 43.91 kB / 2.973 GB, free: 19.24 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001922/6.067, allocations: 60.89 kB / 2.973 GB, free: 19.18 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/6.067, allocations: 0 / 2.973 GB, free: 19.18 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001172/6.068, allocations: 1.518 MB / 2.975 GB, free: 17.55 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/6.068, allocations: 3.938 kB / 2.975 GB, free: 17.54 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005455/6.068, allocations: 424.9 kB / 2.975 GB, free: 17.09 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002218/6.069, allocations: 160.5 kB / 2.975 GB, free: 16.91 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.725e-05/6.069, allocations: 192 / 2.975 GB, free: 16.91 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004709/6.069, allocations: 39.88 kB / 2.975 GB, free: 16.88 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.17e-05/6.069, allocations: 7.984 kB / 2.975 GB, free: 16.87 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-05/6.069, allocations: 15.98 kB / 2.975 GB, free: 16.85 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0002749/6.07, allocations: 279.2 kB / 2.975 GB, free: 16.58 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.00115/6.071, allocations: 275.4 kB / 2.976 GB, free: 16.31 MB / 0.6982 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.001708/6.072, allocations: 1.085 MB / 2.977 GB, free: 15.23 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.0006849/6.073, allocations: 468 kB / 2.977 GB, free: 14.75 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/6.073, allocations: 4.125 kB / 2.977 GB, free: 14.75 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0002259/6.073, allocations: 209.6 kB / 2.977 GB, free: 14.54 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001244/6.075, allocations: 230.9 kB / 2.978 GB, free: 14.31 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00146/6.076, allocations: 0.641 MB / 2.978 GB, free: 13.63 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000491/6.077, allocations: 0.9513 MB / 2.979 GB, free: 12.65 MB / 0.6982 GB Notification: Performance of SimCode: time 9.32e-07/6.077, allocations: 0 / 2.979 GB, free: 12.65 MB / 0.6982 GB Notification: Performance of Templates: time 0.4234/6.5, allocations: 14.68 MB / 2.993 GB, free: 230.4 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1)