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.01223/0.01223, allocations: 100.8 kB / 15.87 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002529/0.002529, allocations: 192.1 kB / 16.79 MB, free: 5.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.827/2.827, allocations: 222.9 MB / 240.5 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.004167/0.004168, allocations: 274.7 kB / 290.9 MB, free: 2.207 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 2.001/2.001, allocations: 169.2 MB / 0.4983 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002825/0.002825, allocations: 91.92 kB / 0.5951 GB, free: 28.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.3006, allocations: 86.98 MB / 0.6801 GB, free: 1.172 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D): time 0.00692/0.3076, allocations: 2.939 MB / 0.6829 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00179/0.3095, allocations: 0.6933 MB / 0.6836 GB, free: 13.54 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002921/0.3098, allocations: 11.94 kB / 0.6836 GB, free: 13.52 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003374/0.3102, allocations: 55.67 kB / 0.6837 GB, free: 13.47 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003942/0.3106, allocations: 107.1 kB / 0.6838 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002934/0.3109, allocations: 51.89 kB / 0.6838 GB, free: 13.31 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005344/0.3114, allocations: 354.1 kB / 0.6842 GB, free: 12.96 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003764/0.3118, allocations: 92.69 kB / 0.6843 GB, free: 12.87 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003136/0.3121, allocations: 127.5 kB / 0.6844 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002958/0.3125, allocations: 147.3 kB / 0.6845 GB, free: 12.6 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.612e-05/0.3125, allocations: 16 kB / 0.6845 GB, free: 12.59 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.617e-05/0.3126, allocations: 16 kB / 0.6846 GB, free: 12.57 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.989e-05/0.3127, allocations: 47.77 kB / 0.6846 GB, free: 12.52 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002387/0.313, allocations: 147.2 kB / 0.6847 GB, free: 12.38 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004131/0.3134, allocations: 243.3 kB / 0.685 GB, free: 12.14 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.3134, allocations: 0 / 0.685 GB, free: 12.14 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3134, allocations: 0 / 0.685 GB, free: 12.14 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.307e-06/0.3135, allocations: 0 / 0.685 GB, free: 12.14 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.001367/0.3148, allocations: 0.5769 MB / 0.6855 GB, free: 11.52 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.809e-05/0.3149, allocations: 8.031 kB / 0.6855 GB, free: 11.51 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001171/0.315, allocations: 36.56 kB / 0.6856 GB, free: 11.47 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005049/0.3156, allocations: 283.5 kB / 0.6858 GB, free: 11.16 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.114e-05/0.3156, allocations: 24.94 kB / 0.6859 GB, free: 11.13 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.336e-05/0.3157, allocations: 28.36 kB / 0.6859 GB, free: 11.11 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007775/0.3165, allocations: 241.1 kB / 0.6861 GB, free: 10.87 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.3165, allocations: 3.938 kB / 0.6861 GB, free: 10.86 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.223e-05/0.3166, allocations: 8 kB / 0.6861 GB, free: 10.86 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.3166, allocations: 4 kB / 0.6861 GB, free: 10.85 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006294/0.3173, allocations: 194.2 kB / 0.6863 GB, free: 10.66 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.002683/0.32, allocations: 1.297 MB / 0.6876 GB, free: 9.191 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001401/0.3214, allocations: 258.4 kB / 0.6878 GB, free: 8.93 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002166/0.3216, allocations: 64.84 kB / 0.6879 GB, free: 8.863 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.788e-05/0.3217, allocations: 0 / 0.6879 GB, free: 8.863 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.649e-05/0.3217, allocations: 38.56 kB / 0.6879 GB, free: 8.816 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 2.815e-06/0.3217, allocations: 0 / 0.6879 GB, free: 8.816 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.002061/0.3238, allocations: 0.6512 MB / 0.6886 GB, free: 8.074 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.701e-05/0.3239, allocations: 51.41 kB / 0.6886 GB, free: 8.012 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004804/0.3244, allocations: 295.2 kB / 0.6889 GB, free: 7.715 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.3244, allocations: 25.7 kB / 0.6889 GB, free: 7.684 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002172/0.3247, allocations: 215.3 kB / 0.6891 GB, free: 7.469 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.896e-05/0.3248, allocations: 67.09 kB / 0.6892 GB, free: 7.402 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000167/0.3249, allocations: 69.61 kB / 0.6893 GB, free: 7.328 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001848/0.3251, allocations: 338.8 kB / 0.6896 GB, free: 6.988 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002567/0.3254, allocations: 76.34 kB / 0.6897 GB, free: 6.91 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003805/0.3258, allocations: 186.4 kB / 0.6898 GB, free: 6.68 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001932/0.3277, allocations: 488.1 kB / 0.6903 GB, free: 6.152 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.286e-06/0.3278, allocations: 3.938 kB / 0.6903 GB, free: 6.148 MB / 494.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001362/0.3291, allocations: 428.6 kB / 0.6907 GB, free: 5.711 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.657e-05/0.3292, allocations: 13.97 kB / 0.6907 GB, free: 5.699 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.805e-05/0.3292, allocations: 4 kB / 0.6907 GB, free: 5.695 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004978/0.3297, allocations: 87.33 kB / 0.6908 GB, free: 5.598 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004883/0.3302, allocations: 83.89 kB / 0.6909 GB, free: 5.516 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006669/0.3369, allocations: 5.116 MB / 0.6959 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005525/0.3375, allocations: 39.53 kB / 0.6959 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.864e-05/0.3376, allocations: 16 kB / 0.6959 GB, free: 15.81 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.0006231/0.3383, allocations: 186.4 kB / 0.6961 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.643e-05/0.3384, allocations: 39.5 kB / 0.6962 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.645e-05/0.3384, allocations: 30.3 kB / 0.6962 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.3385, allocations: 4 kB / 0.6962 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.416e-05/0.3385, allocations: 0 / 0.6962 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/0.3385, allocations: 3.984 kB / 0.6962 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005294/0.339, allocations: 301.4 kB / 0.6965 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.3391, allocations: 4 kB / 0.6965 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003398/0.3394, allocations: 27.98 kB / 0.6965 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004025/0.3398, allocations: 83.33 kB / 0.6966 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.743e-05/0.3399, allocations: 8 kB / 0.6966 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005415/0.3453, allocations: 5.12 MB / 0.7016 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/0.3454, allocations: 4 kB / 0.7016 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001322/0.3467, allocations: 424.3 kB / 0.702 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002306/0.347, allocations: 104.8 kB / 0.7021 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.488e-05/0.347, allocations: 4 kB / 0.7021 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002959/0.3473, allocations: 11.94 kB / 0.7021 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/0.3475, allocations: 15.97 kB / 0.7021 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.183e-05/0.3475, allocations: 7.938 kB / 0.7021 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004072/0.348, allocations: 190 kB / 0.7023 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.5e-07/0.348, allocations: 4 kB / 0.7023 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001002/0.349, allocations: 95.91 kB / 0.7024 GB, free: 8.527 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.0002792/0.3493, allocations: 107.8 kB / 0.7025 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001797/0.3511, allocations: 0.6509 MB / 0.7032 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.3511, allocations: 0 / 0.7032 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001009/0.3521, allocations: 0.5347 MB / 0.7037 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007431/0.3529, allocations: 52.56 kB / 0.7037 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002154/0.3551, allocations: 0.8913 MB / 0.7046 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004843/0.3556, allocations: 0.7645 MB / 0.7054 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.3557, allocations: 27.44 kB / 0.7054 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of SimCode: time 7.41e-07/0.3557, allocations: 0 / 0.7054 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of Templates: time 0.01671/0.3724, allocations: 8.113 MB / 0.7133 GB, free: 13.23 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