Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.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.HeatConduction1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D") translateModel(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D") [: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.7744/0.7744, allocations: 141.8 MB / 149.1 MB, free: 12.14 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.001216/0.001216, allocations: 179.8 kB / 182 MB, free: 8.918 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.444/1.444, allocations: 221.3 MB / 436 MB, free: 1.215 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.001039/0.001039, allocations: 94.28 kB / 0.507 GB, free: 17.66 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001834/0.001834, allocations: 269.1 kB / 0.5885 GB, free: 2.875 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 8.616e-06/8.736e-06, allocations: 1.5 kB / 0.6759 GB, free: 136.1 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1956/0.1956, allocations: 82.77 MB / 0.7567 GB, free: 81.55 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1337/0.3293, allocations: 110.3 MB / 0.8645 GB, free: 3.074 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000201/0.3296, allocations: 83.94 kB / 0.8645 GB, free: 2.992 MB / 0.5419 GB Notification: Performance of FrontEnd: time 0.01623/0.3458, allocations: 5.841 MB / 0.8702 GB, free: 13.05 MB / 0.5575 GB Notification: Performance of Transformations before backend: time 1.387e-05/0.3458, allocations: 4 kB / 0.8702 GB, free: 13.05 MB / 0.5575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.000745/0.3466, allocations: 0.5178 MB / 0.8708 GB, free: 12.49 MB / 0.5575 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.3467, allocations: 9.031 kB / 0.8708 GB, free: 12.48 MB / 0.5575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.362e-05/0.3468, allocations: 35.62 kB / 0.8708 GB, free: 12.45 MB / 0.5575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/0.347, allocations: 206.6 kB / 0.871 GB, free: 12.2 MB / 0.5575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.347, allocations: 8 kB / 0.871 GB, free: 12.2 MB / 0.5575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.158e-05/0.3471, allocations: 19.91 kB / 0.871 GB, free: 12.18 MB / 0.5575 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003963/0.3475, allocations: 181.2 kB / 0.8712 GB, free: 12 MB / 0.5575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003593/0.3478, allocations: 193.4 kB / 0.8714 GB, free: 11.8 MB / 0.5575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.3479, allocations: 224 / 0.8714 GB, free: 11.8 MB / 0.5575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.504e-05/0.3479, allocations: 0 / 0.8714 GB, free: 11.8 MB / 0.5575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.3479, allocations: 11.94 kB / 0.8714 GB, free: 11.79 MB / 0.5575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001661/0.3496, allocations: 1.022 MB / 0.8724 GB, free: 10.67 MB / 0.5575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002136/0.3498, allocations: 134.5 kB / 0.8725 GB, free: 10.53 MB / 0.5575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.071e-05/0.3499, allocations: 56.86 kB / 0.8726 GB, free: 10.47 MB / 0.5575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.3499, allocations: 0 / 0.8726 GB, free: 10.47 MB / 0.5575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.35, allocations: 34.56 kB / 0.8726 GB, free: 10.43 MB / 0.5575 GB Notification: Performance of pre-optimization done (n=16): time 1.212e-06/0.35, allocations: 0 / 0.8726 GB, free: 10.43 MB / 0.5575 GB Notification: Performance of matching and sorting (n=16): time 0.0005158/0.3505, allocations: 224.4 kB / 0.8728 GB, free: 10.19 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.433e-05/0.3505, allocations: 51.41 kB / 0.8729 GB, free: 10.13 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002801/0.3508, allocations: 247.3 kB / 0.8731 GB, free: 9.879 MB / 0.5575 GB Notification: Performance of collectPreVariables (initialization): time 2.781e-05/0.3508, allocations: 25.7 kB / 0.8731 GB, free: 9.848 MB / 0.5575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001481/0.351, allocations: 199.2 kB / 0.8733 GB, free: 9.648 MB / 0.5575 GB Notification: Performance of collectInitialBindings (initialization): time 6.143e-05/0.3511, allocations: 67.09 kB / 0.8734 GB, free: 9.582 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.165e-05/0.3511, allocations: 0 / 0.8734 GB, free: 9.582 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.3512, allocations: 338.8 kB / 0.8737 GB, free: 9.242 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.3514, allocations: 68.38 kB / 0.8738 GB, free: 9.172 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002147/0.3516, allocations: 186.2 kB / 0.8739 GB, free: 8.941 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001974/0.3518, allocations: 100.4 kB / 0.874 GB, free: 8.84 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.3518, allocations: 0 / 0.874 GB, free: 8.84 MB / 0.5575 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006838/0.3525, allocations: 364.9 kB / 0.8744 GB, free: 8.465 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.3525, allocations: 7.984 kB / 0.8744 GB, free: 8.457 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.3525, allocations: 4 kB / 0.8744 GB, free: 8.453 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003211/0.3529, allocations: 87.34 kB / 0.8745 GB, free: 8.355 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003085/0.3532, allocations: 75.89 kB / 0.8746 GB, free: 8.281 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003779/0.357, allocations: 4.942 MB / 0.8794 GB, free: 2.879 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003023/0.3573, allocations: 35.58 kB / 0.8794 GB, free: 2.844 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.926e-05/0.3573, allocations: 12 kB / 0.8794 GB, free: 2.832 MB / 0.5575 GB Warning: Assuming fixed start value for the following 5 variables: body5.T:VARIABLE(min = max(0.0, 0.0) start = body5.T_start unit = "K" nominal = 300.0 ) "Temperature of the thermal node" type: Real body4.T:VARIABLE(min = max(0.0, 0.0) start = body4.T_start unit = "K" nominal = 300.0 ) "Temperature of the thermal node" type: Real body3.T:VARIABLE(min = max(0.0, 0.0) start = body3.T_start unit = "K" nominal = 300.0 ) "Temperature of the thermal node" type: Real body2.T:VARIABLE(min = max(0.0, 0.0) start = body2.T_start unit = "K" nominal = 300.0 ) "Temperature of the thermal node" type: Real body1.T:VARIABLE(min = max(0.0, 0.0) start = body1.T_start unit = "K" nominal = 300.0 ) "Temperature of the thermal node" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 38 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002137/0.3576, allocations: 139.6 kB / 0.8796 GB, free: 2.691 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.146e-05/0.3576, allocations: 35.61 kB / 0.8796 GB, free: 2.656 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.641e-05/0.3577, allocations: 25.98 kB / 0.8796 GB, free: 2.625 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3577, allocations: 3.938 kB / 0.8796 GB, free: 2.621 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.237e-05/0.3577, allocations: 7.984 kB / 0.8796 GB, free: 2.613 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3577, allocations: 0 / 0.8796 GB, free: 2.613 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003246/0.3581, allocations: 270 kB / 0.8799 GB, free: 2.312 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.3581, allocations: 0 / 0.8799 GB, free: 2.312 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002153/0.3583, allocations: 31.92 kB / 0.8799 GB, free: 2.281 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002534/0.3586, allocations: 79.39 kB / 0.88 GB, free: 2.191 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.956e-05/0.3586, allocations: 4 kB / 0.88 GB, free: 2.188 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2715/0.6301, allocations: 4.927 MB / 0.8848 GB, free: 171.3 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.6301, allocations: 0 / 0.8848 GB, free: 171.3 MB / 0.5575 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005251/0.6306, allocations: 388.6 kB / 0.8852 GB, free: 171.1 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.238e-05/0.6307, allocations: 98.95 kB / 0.8853 GB, free: 171 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.851e-05/0.6308, allocations: 7.281 kB / 0.8853 GB, free: 171 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001823/0.631, allocations: 9.375 kB / 0.8853 GB, free: 171 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.276e-05/0.631, allocations: 13.47 kB / 0.8853 GB, free: 171 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.631, allocations: 3.781 kB / 0.8853 GB, free: 171 MB / 0.5575 GB Notification: Performance of sort global known variables: time 0.0001509/0.6312, allocations: 179.2 kB / 0.8855 GB, free: 170.9 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.0005186/0.6317, allocations: 100.4 kB / 0.8856 GB, free: 170.9 MB / 0.5575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (body1.T,body2.T,body3.T,body4.T,body5.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001634/0.6319, allocations: 104.7 kB / 0.8857 GB, free: 170.8 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 0.0007413/0.6326, allocations: 0.6058 MB / 0.8863 GB, free: 170.4 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.6327, allocations: 0 / 0.8863 GB, free: 170.4 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 0.0004218/0.6331, allocations: 498.2 kB / 0.8867 GB, free: 170 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002982/0.6334, allocations: 39.61 kB / 0.8868 GB, free: 170 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000971/0.6344, allocations: 0.5918 MB / 0.8874 GB, free: 169.9 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002696/0.6347, allocations: 0.7911 MB / 0.8881 GB, free: 169.2 MB / 0.5575 GB Notification: Performance of SimCode: time 2.9e-07/0.6347, allocations: 0 / 0.8881 GB, free: 169.2 MB / 0.5575 GB Notification: Performance of Templates: time 0.00702/0.6417, allocations: 3.83 MB / 0.8919 GB, free: 169.1 MB / 0.5575 GB make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.makefile (rm -f BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.sim & ./BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.pipe 2>&1)