Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.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.HAM.HeatConduction.Examples.HeatConduction1DNodes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=480,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes") translateModel(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=480,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes") [: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.8047/0.8047, allocations: 141.8 MB / 149.1 MB, free: 0.6523 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.001183/0.001183, allocations: 177.7 kB / 181.9 MB, free: 12.82 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.447/1.447, allocations: 221.4 MB / 436 MB, free: 5.609 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.0009858/0.0009856, allocations: 95.19 kB / 0.507 GB, free: 19.07 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001987/0.001987, allocations: 277.5 kB / 0.5884 GB, free: 6.781 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 9.027e-06/9.057e-06, allocations: 1.969 kB / 0.6759 GB, free: 139.8 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1862/0.1863, allocations: 82.78 MB / 0.7567 GB, free: 88.74 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1388/0.3251, allocations: 110.4 MB / 0.8645 GB, free: 10.22 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002547/0.3254, allocations: 71.95 kB / 0.8646 GB, free: 10.15 MB / 0.5419 GB Notification: Performance of FrontEnd: time 0.01171/0.3371, allocations: 3.491 MB / 0.868 GB, free: 6.625 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.531e-05/0.3372, allocations: 0 / 0.868 GB, free: 6.625 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.000813/0.338, allocations: 0.4919 MB / 0.8685 GB, free: 6.082 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.3381, allocations: 8.031 kB / 0.8685 GB, free: 6.074 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.608e-05/0.3382, allocations: 23.72 kB / 0.8685 GB, free: 6.051 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004488/0.3387, allocations: 227.8 kB / 0.8687 GB, free: 5.789 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.3387, allocations: 11.94 kB / 0.8687 GB, free: 5.777 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.5e-05/0.3387, allocations: 8 kB / 0.8687 GB, free: 5.77 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002436/0.339, allocations: 104 kB / 0.8688 GB, free: 5.668 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003119/0.3393, allocations: 185.1 kB / 0.869 GB, free: 5.469 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.3393, allocations: 3.984 kB / 0.869 GB, free: 5.465 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.938e-05/0.3394, allocations: 0 / 0.869 GB, free: 5.465 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.3394, allocations: 4 kB / 0.869 GB, free: 5.461 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00125/0.3406, allocations: 0.7195 MB / 0.8697 GB, free: 4.684 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002304/0.3409, allocations: 142.5 kB / 0.8698 GB, free: 4.535 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.341, allocations: 72.77 kB / 0.8699 GB, free: 4.461 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.341, allocations: 4 kB / 0.8699 GB, free: 4.457 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/0.3411, allocations: 30.56 kB / 0.8699 GB, free: 4.418 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=8): time 1.573e-06/0.3411, allocations: 0 / 0.8699 GB, free: 4.418 MB / 0.5419 GB Notification: Performance of matching and sorting (n=8): time 0.0003568/0.3414, allocations: 169.4 kB / 0.8701 GB, free: 4.246 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.3415, allocations: 55.34 kB / 0.8702 GB, free: 4.18 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002566/0.3418, allocations: 181.6 kB / 0.8703 GB, free: 3.992 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 2.77e-05/0.3418, allocations: 29.7 kB / 0.8704 GB, free: 3.957 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 8.636e-05/0.3419, allocations: 140 kB / 0.8705 GB, free: 3.816 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 3.756e-05/0.3419, allocations: 35.45 kB / 0.8705 GB, free: 3.781 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.359e-05/0.342, allocations: 0 / 0.8705 GB, free: 3.781 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.3421, allocations: 330.8 kB / 0.8708 GB, free: 3.449 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002171/0.3423, allocations: 151.9 kB / 0.871 GB, free: 3.301 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002444/0.3426, allocations: 205.1 kB / 0.8712 GB, free: 3.082 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002623/0.3429, allocations: 175.9 kB / 0.8714 GB, free: 2.91 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.3429, allocations: 0 / 0.8714 GB, free: 2.91 MB / 0.5419 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006562/0.3435, allocations: 465.2 kB / 0.8718 GB, free: 2.449 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.3436, allocations: 8.156 kB / 0.8718 GB, free: 2.441 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.3436, allocations: 4 kB / 0.8718 GB, free: 2.438 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.3436, allocations: 0 / 0.8718 GB, free: 2.438 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002648/0.3439, allocations: 43.92 kB / 0.8718 GB, free: 2.395 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.803e-05/0.3439, allocations: 7.906 kB / 0.8719 GB, free: 2.387 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002326/0.3441, allocations: 31.67 kB / 0.8719 GB, free: 2.355 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.458e-05/0.3442, allocations: 8 kB / 0.8719 GB, free: 2.348 MB / 0.5419 GB Warning: Assuming fixed start value for the following 5 variables: body.T[5]:VARIABLE(min = max(0.0, 0.0) start = body.T_start unit = "K" nominal = 300.0 ) "Temperature of the numerical node" type: Real [5] body.T[4]:VARIABLE(min = max(0.0, 0.0) start = body.T_start unit = "K" nominal = 300.0 ) "Temperature of the numerical node" type: Real [5] body.T[3]:VARIABLE(min = max(0.0, 0.0) start = body.T_start unit = "K" nominal = 300.0 ) "Temperature of the numerical node" type: Real [5] body.T[2]:VARIABLE(min = max(0.0, 0.0) start = body.T_start unit = "K" nominal = 300.0 ) "Temperature of the numerical node" type: Real [5] body.T[1]:VARIABLE(min = max(0.0, 0.0) start = body.T_start unit = "K" nominal = 300.0 ) "Temperature of the numerical node" type: Real [5] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 1 * 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 0.000229/0.3444, allocations: 141.8 kB / 0.872 GB, free: 2.207 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.858e-05/0.3445, allocations: 19.81 kB / 0.872 GB, free: 2.188 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.515e-05/0.3445, allocations: 17.41 kB / 0.8721 GB, free: 2.172 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.3445, allocations: 4 kB / 0.8721 GB, free: 2.168 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.3446, allocations: 3.906 kB / 0.8721 GB, free: 2.164 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.3446, allocations: 3.984 kB / 0.8721 GB, free: 2.16 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002423/0.3448, allocations: 194.2 kB / 0.8723 GB, free: 1.934 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3448, allocations: 3.938 kB / 0.8723 GB, free: 1.93 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002824/0.3451, allocations: 35.98 kB / 0.8723 GB, free: 1.895 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.3451, allocations: 0 / 0.8723 GB, free: 1.895 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.37e-05/0.3452, allocations: 11.98 kB / 0.8723 GB, free: 1.883 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.3452, allocations: 3.906 kB / 0.8723 GB, free: 1.879 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.3452, allocations: 0 / 0.8723 GB, free: 1.879 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004271/0.3456, allocations: 335.1 kB / 0.8726 GB, free: 1.535 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.276e-05/0.3457, allocations: 88.92 kB / 0.8727 GB, free: 1.43 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.93e-05/0.3457, allocations: 4 kB / 0.8727 GB, free: 1.426 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001444/0.3459, allocations: 11.89 kB / 0.8727 GB, free: 1.414 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.545e-05/0.346, allocations: 4 kB / 0.8727 GB, free: 1.41 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.346, allocations: 4 kB / 0.8727 GB, free: 1.406 MB / 0.5419 GB Notification: Performance of sort global known variables: time 0.0001154/0.3461, allocations: 136.5 kB / 0.8729 GB, free: 1.273 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0003292/0.3464, allocations: 51.94 kB / 0.8729 GB, free: 1.223 MB / 0.5419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (body.T[1],body.T[2],body.T[3],body.T[4],body.T[5]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0002139/0.3466, allocations: 111.2 kB / 0.873 GB, free: 1.105 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0005368/0.3472, allocations: 381.6 kB / 0.8734 GB, free: 0.7266 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3472, allocations: 0 / 0.8734 GB, free: 0.7266 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.3473, allocations: 67.91 kB / 0.8735 GB, free: 0.6602 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002496/0.3476, allocations: 26.33 kB / 0.8735 GB, free: 0.6328 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.3488, allocations: 0.5767 MB / 0.874 GB, free: 32 kB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2501/0.5989, allocations: 0.7602 MB / 0.8748 GB, free: 165.2 MB / 0.5419 GB Notification: Performance of SimCode: time 1.974e-06/0.5989, allocations: 0 / 0.8748 GB, free: 165.2 MB / 0.5419 GB Notification: Performance of Templates: time 0.004544/0.6035, allocations: 2.222 MB / 0.877 GB, free: 165.2 MB / 0.5419 GB make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.makefile (rm -f BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.sim & ./BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.pipe 2>&1)