Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.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.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance") translateModel(BuildingSystems.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008716/0.008716, allocations: 101.2 kB / 15.88 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.002207/0.002207, allocations: 195.9 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 1.487/1.487, allocations: 222.9 MB / 240.5 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002107/0.002107, allocations: 286.9 kB / 290.9 MB, free: 2.199 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9659/0.9659, allocations: 169.2 MB / 0.4984 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001796/0.001796, allocations: 94.25 kB / 0.5951 GB, free: 28.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.191/0.1928, allocations: 86.99 MB / 0.6801 GB, free: 1.191 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.Resistance): time 0.005635/0.1985, allocations: 3.116 MB / 0.6831 GB, free: 14.07 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002336/0.2009, allocations: 1.324 MB / 0.6844 GB, free: 12.74 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002329/0.2011, allocations: 4 kB / 0.6844 GB, free: 12.73 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001086/0.2022, allocations: 318.9 kB / 0.6847 GB, free: 12.42 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004395/0.2027, allocations: 135.4 kB / 0.6849 GB, free: 12.29 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004134/0.2031, allocations: 119.7 kB / 0.685 GB, free: 12.17 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005621/0.2037, allocations: 434.7 kB / 0.6854 GB, free: 11.75 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003415/0.204, allocations: 160.3 kB / 0.6855 GB, free: 11.59 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000218/0.2043, allocations: 111.6 kB / 0.6856 GB, free: 11.48 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003977/0.2047, allocations: 147.5 kB / 0.6858 GB, free: 11.34 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.053e-05/0.2047, allocations: 12 kB / 0.6858 GB, free: 11.33 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003826/0.2051, allocations: 207.6 kB / 0.686 GB, free: 11.12 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.2052, allocations: 75.78 kB / 0.6861 GB, free: 11.05 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001314/0.2054, allocations: 103.5 kB / 0.6862 GB, free: 10.95 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003752/0.2057, allocations: 263.3 kB / 0.6864 GB, free: 10.69 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.2058, allocations: 0 / 0.6864 GB, free: 10.69 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2058, allocations: 0 / 0.6864 GB, free: 10.69 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.759e-06/0.2058, allocations: 0 / 0.6864 GB, free: 10.69 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0009785/0.2068, allocations: 0.5108 MB / 0.6869 GB, free: 10.13 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.2068, allocations: 12.02 kB / 0.6869 GB, free: 10.12 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006159/0.2074, allocations: 80.59 kB / 0.687 GB, free: 10.04 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003273/0.2078, allocations: 242 kB / 0.6872 GB, free: 9.766 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.2078, allocations: 20.73 kB / 0.6873 GB, free: 9.746 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.727e-05/0.2078, allocations: 16.38 kB / 0.6873 GB, free: 9.73 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005385/0.2084, allocations: 295.5 kB / 0.6876 GB, free: 9.422 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.2084, allocations: 4 kB / 0.6876 GB, free: 9.418 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.661e-05/0.2084, allocations: 8 kB / 0.6876 GB, free: 9.41 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.384e-05/0.2085, allocations: 16.36 kB / 0.6876 GB, free: 9.395 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004195/0.2089, allocations: 196.9 kB / 0.6878 GB, free: 9.203 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001703/0.2106, allocations: 1.468 MB / 0.6892 GB, free: 7.57 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002554/0.2109, allocations: 171.7 kB / 0.6894 GB, free: 7.375 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.331e-05/0.211, allocations: 40.78 kB / 0.6894 GB, free: 7.332 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.456e-06/0.211, allocations: 0 / 0.6894 GB, free: 7.332 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.211, allocations: 34.56 kB / 0.6894 GB, free: 7.289 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.211, allocations: 0 / 0.6894 GB, free: 7.289 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.000479/0.2115, allocations: 231.5 kB / 0.6897 GB, free: 7.035 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.607e-05/0.2115, allocations: 51.41 kB / 0.6897 GB, free: 6.973 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002065/0.2118, allocations: 200.1 kB / 0.6899 GB, free: 6.77 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.2118, allocations: 25.7 kB / 0.6899 GB, free: 6.738 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.2119, allocations: 167.6 kB / 0.6901 GB, free: 6.57 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.834e-05/0.2119, allocations: 31.55 kB / 0.6901 GB, free: 6.539 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.995e-05/0.212, allocations: 33.7 kB / 0.6901 GB, free: 6.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002235/0.2122, allocations: 330.8 kB / 0.6905 GB, free: 6.168 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.456e-05/0.2123, allocations: 27.98 kB / 0.6905 GB, free: 6.141 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.2124, allocations: 112.4 kB / 0.6906 GB, free: 6 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002225/0.2126, allocations: 140.5 kB / 0.6907 GB, free: 5.832 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2127, allocations: 0 / 0.6907 GB, free: 5.832 MB / 494.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003379/0.213, allocations: 194.3 kB / 0.6909 GB, free: 5.633 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.213, allocations: 8 kB / 0.6909 GB, free: 5.625 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.148e-06/0.213, allocations: 8.062 kB / 0.6909 GB, free: 5.617 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001692/0.2132, allocations: 24.84 kB / 0.6909 GB, free: 5.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.2133, allocations: 23.94 kB / 0.691 GB, free: 5.566 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001299/0.2146, allocations: 1.323 MB / 0.6923 GB, free: 4.105 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002334/0.2149, allocations: 11.84 kB / 0.6923 GB, free: 4.094 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.2149, allocations: 8 kB / 0.6923 GB, free: 4.086 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001478/0.2151, allocations: 155.1 kB / 0.6924 GB, free: 3.926 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.378e-05/0.2151, allocations: 19.73 kB / 0.6925 GB, free: 3.906 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.024e-05/0.2151, allocations: 17.41 kB / 0.6925 GB, free: 3.891 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.2151, allocations: 4 kB / 0.6925 GB, free: 3.887 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.2152, allocations: 0 / 0.6925 GB, free: 3.887 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.2152, allocations: 0 / 0.6925 GB, free: 3.887 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005277/0.2157, allocations: 443.3 kB / 0.6929 GB, free: 3.395 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.2157, allocations: 0 / 0.6929 GB, free: 3.395 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.833e-05/0.2158, allocations: 7.938 kB / 0.6929 GB, free: 3.387 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.766e-05/0.2159, allocations: 28.89 kB / 0.6929 GB, free: 3.355 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.2159, allocations: 3.984 kB / 0.6929 GB, free: 3.352 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009586/0.2168, allocations: 1.311 MB / 0.6942 GB, free: 1.906 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.2169, allocations: 11.88 kB / 0.6942 GB, free: 1.895 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002368/0.2171, allocations: 208.6 kB / 0.6944 GB, free: 1.672 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.687e-05/0.2172, allocations: 85.02 kB / 0.6945 GB, free: 1.57 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.2172, allocations: 16.02 kB / 0.6945 GB, free: 1.555 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.2173, allocations: 8.031 kB / 0.6945 GB, free: 1.547 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.095e-05/0.2173, allocations: 4 kB / 0.6945 GB, free: 1.543 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.044e-06/0.2174, allocations: 4 kB / 0.6945 GB, free: 1.539 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001859/0.2175, allocations: 143.2 kB / 0.6947 GB, free: 1.398 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2176, allocations: 0 / 0.6947 GB, free: 1.398 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003246/0.2179, allocations: 51.84 kB / 0.6947 GB, free: 1.348 MB / 494.1 MB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0001529/0.218, allocations: 99.23 kB / 0.6948 GB, free: 1.238 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003772/0.2184, allocations: 218.4 kB / 0.695 GB, free: 1.012 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.2184, allocations: 4 kB / 0.695 GB, free: 1.008 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001534/0.2186, allocations: 142.8 kB / 0.6952 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000382/0.219, allocations: 37.94 kB / 0.6952 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008396/0.2198, allocations: 466 kB / 0.6956 GB, free: 344 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003712/0.2202, allocations: 0.7517 MB / 0.6964 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.525e-05/0.2203, allocations: 15.44 kB / 0.6964 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of SimCode: time 3.61e-07/0.2203, allocations: 0 / 0.6964 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of Templates: time 0.005191/0.2255, allocations: 2.955 MB / 0.6993 GB, free: 12.59 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.makefile make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.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.Electrical.DC.Lines.Examples.ResistanceCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.ResistanceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.ResistanceCalcHelperMain.o] Error 1