Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.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: translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Examples.ModelTime") [: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.502/1.502, allocations: 289.8 MB / 297.1 MB, free: 6.68 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.001211/0.001211, allocations: 177.3 kB / 366.3 MB, free: 1.969 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.403/1.403, 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.0009163/0.0009163, allocations: 97.52 kB / 0.7396 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.195e-06/8.215e-06, allocations: 4 kB / 0.859 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5608/0.5609, allocations: 116.3 MB / 0.9725 GB, free: 67.93 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1587/0.7196, allocations: 137.4 MB / 1.107 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001765/0.7198, allocations: 75.88 kB / 1.107 GB, free: 11 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.0002642/0.7201, allocations: 50.75 kB / 1.107 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.7201, allocations: 0.5625 kB / 1.107 GB, free: 10.96 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001969/0.7203, allocations: 307.1 kB / 1.107 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.7203, allocations: 9.969 kB / 1.107 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.373e-05/0.7204, allocations: 0 / 1.107 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.7205, allocations: 159.1 kB / 1.107 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.7205, allocations: 5.125 kB / 1.107 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.776e-06/0.7205, allocations: 4 kB / 1.107 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.065e-05/0.7206, allocations: 0 / 1.107 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.598e-05/0.7206, allocations: 30.17 kB / 1.107 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.7206, allocations: 1.5 kB / 1.107 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.713e-06/0.7206, allocations: 0.6562 kB / 1.107 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.7207, allocations: 0 / 1.107 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001094/0.7208, allocations: 138.9 kB / 1.107 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.182e-05/0.7208, allocations: 15.17 kB / 1.108 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.019e-05/0.7208, allocations: 9.609 kB / 1.108 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.943e-06/0.7208, allocations: 0.6875 kB / 1.108 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.7209, allocations: 35.22 kB / 1.108 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 1.874e-06/0.7209, allocations: 1.188 kB / 1.108 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.000106/0.721, allocations: 33.64 kB / 1.108 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.378e-05/0.721, allocations: 52.28 kB / 1.108 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.939e-05/0.7211, allocations: 89.78 kB / 1.108 GB, free: 9.922 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.297e-06/0.7211, allocations: 25.7 kB / 1.108 GB, free: 9.891 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3e-05/0.7211, allocations: 81.02 kB / 1.108 GB, free: 9.809 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.246e-05/0.7211, allocations: 4.828 kB / 1.108 GB, free: 9.805 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.422e-06/0.7211, allocations: 0.5625 kB / 1.108 GB, free: 9.805 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.7213, allocations: 318.9 kB / 1.108 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.493e-06/0.7213, allocations: 0 / 1.108 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.658e-06/0.7213, allocations: 0 / 1.108 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.337e-05/0.7213, allocations: 0 / 1.108 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.7213, allocations: 3.906 kB / 1.108 GB, free: 9.48 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.826e-05/0.7214, allocations: 33.7 kB / 1.108 GB, free: 9.441 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.7214, allocations: 4 kB / 1.108 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.7214, allocations: 0.8438 kB / 1.108 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.7214, allocations: 0 / 1.108 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.94e-05/0.7215, allocations: 11.97 kB / 1.108 GB, free: 9.426 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.7215, allocations: 4 kB / 1.108 GB, free: 9.422 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.517e-06/0.7215, allocations: 0 / 1.108 GB, free: 9.422 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.7215, allocations: 0 / 1.108 GB, free: 9.422 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 7.533e-05/0.7216, allocations: 107.7 kB / 1.108 GB, free: 9.312 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.535e-06/0.7216, allocations: 3.906 kB / 1.108 GB, free: 9.309 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.921e-05/0.7216, allocations: 7 kB / 1.108 GB, free: 9.301 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.7216, allocations: 0.6562 kB / 1.108 GB, free: 9.301 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.7216, allocations: 4 kB / 1.108 GB, free: 9.297 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.7216, allocations: 4 kB / 1.108 GB, free: 9.293 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.41e-05/0.7217, allocations: 124.4 kB / 1.108 GB, free: 9.137 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.7217, allocations: 0 / 1.108 GB, free: 9.137 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.283e-05/0.7217, allocations: 4 kB / 1.108 GB, free: 9.133 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.7217, allocations: 3.984 kB / 1.108 GB, free: 9.129 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.7218, allocations: 8.844 kB / 1.108 GB, free: 9.121 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.7218, allocations: 0 / 1.108 GB, free: 9.121 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.7218, allocations: 0 / 1.108 GB, free: 9.121 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.262e-05/0.7218, allocations: 53.14 kB / 1.108 GB, free: 9.051 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.448e-05/0.7219, allocations: 81.09 kB / 1.109 GB, free: 8.953 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.104e-05/0.7219, allocations: 3.938 kB / 1.109 GB, free: 8.949 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.659e-06/0.7219, allocations: 7.906 kB / 1.109 GB, free: 8.941 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.084e-05/0.7219, allocations: 3.984 kB / 1.109 GB, free: 8.938 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-06/0.7219, allocations: 0 / 1.109 GB, free: 8.938 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.031e-05/0.722, allocations: 79.28 kB / 1.109 GB, free: 8.859 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001972/0.7222, allocations: 1.406 kB / 1.109 GB, free: 8.859 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0001085/0.7223, allocations: 99.28 kB / 1.109 GB, free: 8.75 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.576e-05/0.7224, allocations: 0 / 1.109 GB, free: 8.75 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.7224, allocations: 0 / 1.109 GB, free: 8.75 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.262e-06/0.7224, allocations: 4 kB / 1.109 GB, free: 8.746 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001011/0.7225, allocations: 0 / 1.109 GB, free: 8.746 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001421/0.7226, allocations: 44.02 kB / 1.109 GB, free: 8.68 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002484/0.7229, allocations: 0.6841 MB / 1.109 GB, free: 7.969 MB / 0.7136 GB Notification: Performance of SimCode: time 1.503e-06/0.7229, allocations: 0 / 1.109 GB, free: 7.969 MB / 0.7136 GB Notification: Performance of Templates: time 0.001502/0.7244, allocations: 160.6 kB / 1.11 GB, free: 7.832 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.makefile (rm -f Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.sim & ./Buildings_8_Buildings.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1)