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/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000868/0.0008681, allocations: 97.78 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 187.3 kB / 16.92 MB, free: 6.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 223.2 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001745/0.001744, allocations: 254.7 kB / 292.3 MB, free: 1.891 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9306/0.9306, allocations: 169.5 MB / 0.501 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003998/0.0003999, allocations: 10.06 kB / 0.5993 GB, free: 28.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1686, allocations: 88.54 MB / 0.6858 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D): time 0.002906/0.1716, allocations: 2.572 MB / 0.6883 GB, free: 12.51 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009384/0.1725, allocations: 0.6785 MB / 0.6889 GB, free: 11.83 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.1727, allocations: 11.94 kB / 0.6889 GB, free: 11.82 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001864/0.1729, allocations: 55.61 kB / 0.689 GB, free: 11.77 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001979/0.1731, allocations: 108.1 kB / 0.6891 GB, free: 11.66 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001569/0.1732, allocations: 49.66 kB / 0.6892 GB, free: 11.61 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003029/0.1735, allocations: 354.1 kB / 0.6895 GB, free: 11.27 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001808/0.1737, allocations: 99.09 kB / 0.6896 GB, free: 11.17 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001801/0.1739, allocations: 119.5 kB / 0.6897 GB, free: 11.05 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001823/0.1741, allocations: 140 kB / 0.6898 GB, free: 10.91 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.346e-05/0.1742, allocations: 12 kB / 0.6898 GB, free: 10.9 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.764e-05/0.1742, allocations: 12.66 kB / 0.6899 GB, free: 10.89 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.613e-05/0.1743, allocations: 47.77 kB / 0.6899 GB, free: 10.84 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001506/0.1744, allocations: 167.4 kB / 0.6901 GB, free: 10.68 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002124/0.1746, allocations: 227.3 kB / 0.6903 GB, free: 10.45 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.1746, allocations: 4 kB / 0.6903 GB, free: 10.45 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1747, allocations: 0 / 0.6903 GB, free: 10.45 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.1747, allocations: 0 / 0.6903 GB, free: 10.45 MB / 494.1 MB 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.0007092/0.1754, allocations: 0.5406 MB / 0.6908 GB, free: 9.863 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.1754, allocations: 12.03 kB / 0.6908 GB, free: 9.852 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.071e-05/0.1755, allocations: 33.28 kB / 0.6909 GB, free: 9.82 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002883/0.1758, allocations: 283.5 kB / 0.6911 GB, free: 9.504 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.1758, allocations: 17.81 kB / 0.6911 GB, free: 9.488 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.644e-05/0.1759, allocations: 28.38 kB / 0.6912 GB, free: 9.461 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004097/0.1763, allocations: 239.1 kB / 0.6914 GB, free: 9.227 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.1763, allocations: 7.984 kB / 0.6914 GB, free: 9.219 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.408e-05/0.1763, allocations: 8 kB / 0.6914 GB, free: 9.211 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.1764, allocations: 8.75 kB / 0.6914 GB, free: 9.203 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003428/0.1767, allocations: 194.2 kB / 0.6916 GB, free: 9.016 MB / 494.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001414/0.1781, allocations: 1.305 MB / 0.6929 GB, free: 7.535 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007517/0.1789, allocations: 262.4 kB / 0.6931 GB, free: 7.27 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001284/0.179, allocations: 70.94 kB / 0.6932 GB, free: 7.199 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.179, allocations: 7.938 kB / 0.6932 GB, free: 7.191 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.1791, allocations: 30.56 kB / 0.6932 GB, free: 7.152 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 2.715e-06/0.1791, allocations: 4 kB / 0.6932 GB, free: 7.148 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.001122/0.1802, allocations: 0.6573 MB / 0.6939 GB, free: 6.398 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/0.1803, allocations: 51.41 kB / 0.6939 GB, free: 6.336 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002639/0.1805, allocations: 291.2 kB / 0.6942 GB, free: 6.043 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.1805, allocations: 29.7 kB / 0.6942 GB, free: 6.008 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.1807, allocations: 223.2 kB / 0.6944 GB, free: 5.785 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.867e-05/0.1807, allocations: 63.09 kB / 0.6945 GB, free: 5.723 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.531e-05/0.1808, allocations: 33.7 kB / 0.6945 GB, free: 5.684 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.1809, allocations: 338.8 kB / 0.6949 GB, free: 5.344 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/0.1811, allocations: 76.34 kB / 0.6949 GB, free: 5.266 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002177/0.1813, allocations: 198.2 kB / 0.6951 GB, free: 5.023 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/0.1824, allocations: 0.4923 MB / 0.6956 GB, free: 4.48 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.1824, allocations: 7.938 kB / 0.6956 GB, free: 4.473 MB / 494.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006758/0.1831, allocations: 428.4 kB / 0.696 GB, free: 4.035 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.1831, allocations: 11.92 kB / 0.696 GB, free: 4.023 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.1831, allocations: 7.938 kB / 0.696 GB, free: 4.016 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002679/0.1834, allocations: 87.64 kB / 0.6961 GB, free: 3.918 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002409/0.1836, allocations: 75.91 kB / 0.6962 GB, free: 3.844 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003246/0.1869, allocations: 5.128 MB / 0.7012 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002192/0.1871, allocations: 43.53 kB / 0.7012 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/0.1872, allocations: 16 kB / 0.7013 GB, free: 14.12 MB / 0.4981 GB Warning: Assuming fixed start value for the following 5 variables: body1.T:VARIABLE(min = max(0.0, 0.0) start = body1.T_start unit = "K" fixed = true 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" fixed = true 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" fixed = true 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" fixed = true nominal = 300.0 ) "Temperature of the thermal node" type: Real body5.T:VARIABLE(min = max(0.0, 0.0) start = body5.T_start unit = "K" fixed = true 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002835/0.1874, allocations: 197.6 kB / 0.7014 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.745e-05/0.1875, allocations: 31.64 kB / 0.7015 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.426e-05/0.1876, allocations: 34.3 kB / 0.7015 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1876, allocations: 0 / 0.7015 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.1876, allocations: 4 kB / 0.7015 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1876, allocations: 0 / 0.7015 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003248/0.1879, allocations: 305.3 kB / 0.7018 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.1879, allocations: 4 kB / 0.7018 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001905/0.1881, allocations: 39.92 kB / 0.7018 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002038/0.1883, allocations: 79.39 kB / 0.7019 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.1884, allocations: 3.984 kB / 0.7019 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003143/0.1915, allocations: 5.124 MB / 0.7069 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1915, allocations: 0 / 0.7069 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006282/0.1922, allocations: 437.2 kB / 0.7073 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.049e-05/0.1922, allocations: 92.83 kB / 0.7074 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.207e-05/0.1923, allocations: 4 kB / 0.7074 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.1925, allocations: 19.92 kB / 0.7075 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5e-05/0.1925, allocations: 15.98 kB / 0.7075 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-06/0.1925, allocations: 4 kB / 0.7075 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001602/0.1927, allocations: 197.9 kB / 0.7077 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1927, allocations: 0 / 0.7077 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000425/0.1931, allocations: 91.91 kB / 0.7078 GB, free: 6.828 MB / 0.4981 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000108/0.1933, allocations: 103.2 kB / 0.7079 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007923/0.1941, allocations: 0.6634 MB / 0.7085 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1941, allocations: 4 kB / 0.7085 GB, free: 6 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005407/0.1946, allocations: 0.5261 MB / 0.709 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003873/0.195, allocations: 56.58 kB / 0.7091 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.1962, allocations: 0.9769 MB / 0.71 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/0.1965, allocations: 0.7645 MB / 0.7108 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.186e-05/0.1965, allocations: 23.44 kB / 0.7108 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of SimCode: time 3.71e-07/0.1965, allocations: 0 / 0.7108 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of Templates: time 0.00887/0.2054, allocations: 8.078 MB / 0.7187 GB, free: 11.47 MB / 0.5137 GB make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.makefile make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DCalcHelperMain.o] Error 1