Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.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.Controls.SetPoints.Examples.Table,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table") translateModel(BuildingSystems.Controls.SetPoints.Examples.Table,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table") [: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.7204/0.7204, allocations: 141.8 MB / 149.1 MB, free: 14.3 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 178 kB / 182 MB, free: 10.79 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.265/1.265, allocations: 221.3 MB / 436 MB, free: 3.34 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.0008945/0.0008944, allocations: 94.8 kB / 0.507 GB, free: 18.32 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001829/0.001829, allocations: 280.1 kB / 0.5885 GB, free: 4.758 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 5.971e-06/5.981e-06, allocations: 1.094 kB / 0.6759 GB, free: 137.6 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1346, allocations: 82.77 MB / 0.7567 GB, free: 85.02 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1096/0.2442, allocations: 110.3 MB / 0.8645 GB, free: 6.512 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001892/0.2444, allocations: 71.97 kB / 0.8646 GB, free: 6.441 MB / 0.5419 GB Notification: Performance of FrontEnd: time 0.01229/0.2567, allocations: 4.47 MB / 0.8689 GB, free: 1.965 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 2.307e-05/0.2568, allocations: 4 kB / 0.8689 GB, free: 1.961 MB / 0.5419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000513/0.2573, allocations: 0.4898 MB / 0.8694 GB, free: 1.426 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.2573, allocations: 9.031 kB / 0.8694 GB, free: 1.418 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.656e-05/0.2574, allocations: 31.62 kB / 0.8694 GB, free: 1.387 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005835/0.258, allocations: 379.7 kB / 0.8698 GB, free: 0.9727 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.258, allocations: 4 kB / 0.8698 GB, free: 0.9688 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/0.2581, allocations: 0 / 0.8698 GB, free: 0.9688 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.551e-05/0.2581, allocations: 28 kB / 0.8698 GB, free: 0.9414 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.505e-05/0.2582, allocations: 53.69 kB / 0.8699 GB, free: 0.8828 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.2583, allocations: 7.938 kB / 0.8699 GB, free: 0.875 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.2583, allocations: 3.984 kB / 0.8699 GB, free: 0.8711 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.2583, allocations: 0 / 0.8699 GB, free: 0.8711 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005015/0.2588, allocations: 405.1 kB / 0.8703 GB, free: 448 kB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 8.565e-05/0.2589, allocations: 38.61 kB / 0.8703 GB, free: 400 kB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.707e-05/0.2589, allocations: 16.92 kB / 0.8703 GB, free: 380 kB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.259, allocations: 0 / 0.8703 GB, free: 380 kB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.259, allocations: 34.64 kB / 0.8704 GB, free: 336 kB / 0.5419 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.259, allocations: 0 / 0.8704 GB, free: 336 kB / 0.5419 GB Notification: Performance of matching and sorting (n=3): time 0.000162/0.2592, allocations: 73.31 kB / 0.8704 GB, free: 256 kB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.76e-05/0.2592, allocations: 55.41 kB / 0.8705 GB, free: 188 kB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1637/0.4229, allocations: 444.3 kB / 0.8709 GB, free: 164.2 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.423, allocations: 32.14 kB / 0.8709 GB, free: 164.2 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 5.579e-05/0.423, allocations: 125.5 kB / 0.8711 GB, free: 164.1 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 2.322e-05/0.4231, allocations: 6.156 kB / 0.8711 GB, free: 164.1 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-06/0.4231, allocations: 0 / 0.8711 GB, free: 164.1 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 6.365e-05/0.4231, allocations: 352.3 kB / 0.8714 GB, free: 163.8 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.108e-05/0.4232, allocations: 3.625 kB / 0.8714 GB, free: 163.8 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.687e-05/0.4232, allocations: 5.219 kB / 0.8714 GB, free: 163.8 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.431e-05/0.4232, allocations: 8 kB / 0.8714 GB, free: 163.8 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4232, allocations: 7.438 kB / 0.8714 GB, free: 163.8 MB / 0.5419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001375/0.4234, allocations: 69.91 kB / 0.8715 GB, free: 163.7 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.4234, allocations: 3.75 kB / 0.8715 GB, free: 163.7 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.4234, allocations: 3.781 kB / 0.8715 GB, free: 163.7 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.4234, allocations: 2.969 kB / 0.8715 GB, free: 163.7 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.4236, allocations: 15.52 kB / 0.8715 GB, free: 163.7 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.376e-06/0.4236, allocations: 0 / 0.8715 GB, free: 163.7 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.4237, allocations: 13.5 kB / 0.8715 GB, free: 163.7 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.4237, allocations: 3.5 kB / 0.8715 GB, free: 163.7 MB / 0.5419 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 (3): * Single equations (assignments): 3 * 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 4.314e-05/0.4237, allocations: 104.1 kB / 0.8716 GB, free: 163.6 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.527e-05/0.4238, allocations: 28.47 kB / 0.8717 GB, free: 163.6 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001537/0.424, allocations: 99.08 kB / 0.8718 GB, free: 163.6 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.424, allocations: 0 / 0.8718 GB, free: 163.6 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.424, allocations: 0 / 0.8718 GB, free: 163.6 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.424, allocations: 0 / 0.8718 GB, free: 163.6 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001974/0.4242, allocations: 249.3 kB / 0.872 GB, free: 163.4 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.4242, allocations: 0 / 0.872 GB, free: 163.4 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.254e-05/0.4243, allocations: 18.41 kB / 0.872 GB, free: 163.4 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.4243, allocations: 0 / 0.872 GB, free: 163.4 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.4243, allocations: 3.781 kB / 0.872 GB, free: 163.4 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.4243, allocations: 8.422 kB / 0.872 GB, free: 163.4 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.4243, allocations: 0 / 0.872 GB, free: 163.4 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001132/0.4244, allocations: 168.6 kB / 0.8722 GB, free: 163.3 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.12e-05/0.4245, allocations: 133.5 kB / 0.8723 GB, free: 163.2 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.821e-05/0.4246, allocations: 0 / 0.8723 GB, free: 163.2 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001215/0.4247, allocations: 8.953 kB / 0.8723 GB, free: 163.2 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.034e-05/0.4247, allocations: 5.375 kB / 0.8723 GB, free: 163.2 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.479e-06/0.4248, allocations: 3.438 kB / 0.8723 GB, free: 163.2 MB / 0.5419 GB Notification: Performance of sort global known variables: time 0.0002988/0.4251, allocations: 352.5 kB / 0.8727 GB, free: 163.1 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0002565/0.4253, allocations: 34.23 kB / 0.8727 GB, free: 163.1 MB / 0.5419 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 (3): * Single equations (assignments): 3 * 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.0004741/0.4258, allocations: 267.6 kB / 0.873 GB, free: 163 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 8.111e-05/0.4259, allocations: 20.5 kB / 0.873 GB, free: 163 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4259, allocations: 0 / 0.873 GB, free: 163 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 4.104e-05/0.4259, allocations: 10.25 kB / 0.873 GB, free: 163 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/0.4262, allocations: 46.55 kB / 0.873 GB, free: 163 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006173/0.4269, allocations: 369.7 kB / 0.8734 GB, free: 162.9 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00028/0.4272, allocations: 0.8029 MB / 0.8742 GB, free: 162.2 MB / 0.5419 GB Notification: Performance of SimCode: time 1.252e-06/0.4272, allocations: 0.6562 kB / 0.8742 GB, free: 162.2 MB / 0.5419 GB Notification: Performance of Templates: time 0.004497/0.4317, allocations: 1.893 MB / 0.876 GB, free: 162.1 MB / 0.5419 GB make -j1 -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.makefile (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.sim & ./BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.pipe 2>&1)