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.0009373/0.0009418, allocations: 92.16 kB / 16.02 MB, free: 80 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.001089/0.001089, allocations: 173.7 kB / 16.92 MB, free: 6.629 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.305/1.305, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001714/0.001714, allocations: 267.1 kB / 292.3 MB, free: 1.871 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9357/0.9357, allocations: 169.5 MB / 0.501 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004217/0.0004217, allocations: 11.58 kB / 0.5993 GB, free: 28.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1825/0.1829, allocations: 88.54 MB / 0.6858 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.Resistance): time 0.003917/0.1868, allocations: 2.744 MB / 0.6884 GB, free: 12.36 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00233/0.1892, allocations: 1.309 MB / 0.6897 GB, free: 11.05 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001284/0.1894, allocations: 4 kB / 0.6897 GB, free: 11.04 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001715/0.1896, allocations: 40.83 kB / 0.6898 GB, free: 11 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003709/0.1899, allocations: 132 kB / 0.6899 GB, free: 10.88 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003393/0.1903, allocations: 134.4 kB / 0.69 GB, free: 10.75 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004006/0.1907, allocations: 432.4 kB / 0.6904 GB, free: 10.32 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003304/0.191, allocations: 237.5 kB / 0.6907 GB, free: 10.09 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/0.1912, allocations: 103.6 kB / 0.6908 GB, free: 9.984 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002552/0.1914, allocations: 127.5 kB / 0.6909 GB, free: 9.859 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.197e-05/0.1915, allocations: 12 kB / 0.6909 GB, free: 9.848 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000282/0.1918, allocations: 200.3 kB / 0.6911 GB, free: 9.652 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.247e-05/0.1919, allocations: 67.8 kB / 0.6911 GB, free: 9.586 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001133/0.192, allocations: 126.9 kB / 0.6913 GB, free: 9.457 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002622/0.1922, allocations: 255.4 kB / 0.6915 GB, free: 9.207 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1923, allocations: 0 / 0.6915 GB, free: 9.207 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1923, allocations: 0 / 0.6915 GB, free: 9.207 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.1923, allocations: 0 / 0.6915 GB, free: 9.207 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.0006908/0.193, allocations: 489.8 kB / 0.692 GB, free: 8.68 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.193, allocations: 12.03 kB / 0.692 GB, free: 8.668 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005482/0.1936, allocations: 85.94 kB / 0.6921 GB, free: 8.586 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002577/0.1938, allocations: 243.9 kB / 0.6923 GB, free: 8.309 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.1939, allocations: 16.75 kB / 0.6923 GB, free: 8.293 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.39e-05/0.1939, allocations: 20.36 kB / 0.6923 GB, free: 8.273 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004378/0.1943, allocations: 299.5 kB / 0.6926 GB, free: 7.961 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.1944, allocations: 0 / 0.6926 GB, free: 7.961 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.63e-05/0.1944, allocations: 7.984 kB / 0.6926 GB, free: 7.953 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.248e-05/0.1944, allocations: 20.38 kB / 0.6927 GB, free: 7.934 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003018/0.1947, allocations: 196.9 kB / 0.6928 GB, free: 7.742 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001408/0.1962, allocations: 1.464 MB / 0.6943 GB, free: 6.113 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002419/0.1964, allocations: 179.6 kB / 0.6944 GB, free: 5.91 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.044e-05/0.1965, allocations: 36.83 kB / 0.6945 GB, free: 5.871 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.696e-06/0.1965, allocations: 0 / 0.6945 GB, free: 5.871 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.1965, allocations: 34.5 kB / 0.6945 GB, free: 5.828 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.1965, allocations: 4 kB / 0.6945 GB, free: 5.824 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004623/0.197, allocations: 235.5 kB / 0.6947 GB, free: 5.566 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.1971, allocations: 51.41 kB / 0.6948 GB, free: 5.504 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000202/0.1973, allocations: 200 kB / 0.695 GB, free: 5.301 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.1973, allocations: 29.7 kB / 0.695 GB, free: 5.266 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.1974, allocations: 163.6 kB / 0.6952 GB, free: 5.102 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.025e-05/0.1974, allocations: 27.64 kB / 0.6952 GB, free: 5.074 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.138e-05/0.1975, allocations: 21.72 kB / 0.6952 GB, free: 5.047 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.1976, allocations: 330.8 kB / 0.6955 GB, free: 4.715 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.835e-05/0.1977, allocations: 35.97 kB / 0.6956 GB, free: 4.68 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.474e-05/0.1978, allocations: 94.61 kB / 0.6956 GB, free: 4.559 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001763/0.198, allocations: 156.4 kB / 0.6958 GB, free: 4.375 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.198, allocations: 0 / 0.6958 GB, free: 4.375 MB / 494.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002915/0.1983, allocations: 194 kB / 0.696 GB, free: 4.176 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.1983, allocations: 4 kB / 0.696 GB, free: 4.172 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.1983, allocations: 4.281 kB / 0.696 GB, free: 4.168 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001374/0.1984, allocations: 28.84 kB / 0.696 GB, free: 4.137 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.1986, allocations: 27.92 kB / 0.696 GB, free: 4.109 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001013/0.1996, allocations: 1.315 MB / 0.6973 GB, free: 2.656 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.1997, allocations: 19.75 kB / 0.6973 GB, free: 2.637 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.1997, allocations: 8 kB / 0.6974 GB, free: 2.629 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.0001463/0.1999, allocations: 147.1 kB / 0.6975 GB, free: 2.477 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.786e-05/0.1999, allocations: 15.84 kB / 0.6975 GB, free: 2.461 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.337e-05/0.2, allocations: 25.48 kB / 0.6975 GB, free: 2.438 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.2, allocations: 96 / 0.6975 GB, free: 2.438 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.514e-06/0.2, allocations: 3.938 kB / 0.6975 GB, free: 2.434 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.2, allocations: 0 / 0.6975 GB, free: 2.434 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004882/0.2005, allocations: 451.1 kB / 0.698 GB, free: 1.934 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.2005, allocations: 0 / 0.698 GB, free: 1.934 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.638e-05/0.2005, allocations: 8 kB / 0.698 GB, free: 1.926 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.312e-05/0.2006, allocations: 24.78 kB / 0.698 GB, free: 1.898 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-06/0.2006, allocations: 4 kB / 0.698 GB, free: 1.895 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009024/0.2015, allocations: 1.316 MB / 0.6993 GB, free: 456 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.2015, allocations: 3.938 kB / 0.6993 GB, free: 452 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002172/0.2018, allocations: 208.2 kB / 0.6995 GB, free: 224 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.479e-05/0.2018, allocations: 96.91 kB / 0.6996 GB, free: 108 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.2019, allocations: 3.938 kB / 0.6996 GB, free: 104 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.202, allocations: 8 kB / 0.6996 GB, free: 96 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.771e-05/0.202, allocations: 12.05 kB / 0.6996 GB, free: 84 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.202, allocations: 0 / 0.6996 GB, free: 84 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001417/0.2022, allocations: 143.2 kB / 0.6997 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.31e-07/0.2022, allocations: 0 / 0.6997 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003169/0.2025, allocations: 51.84 kB / 0.6998 GB, free: 15.89 MB / 0.4981 GB 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.0001078/0.2026, allocations: 99.19 kB / 0.6999 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003399/0.203, allocations: 206.8 kB / 0.7001 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.203, allocations: 0 / 0.7001 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001595/0.2031, allocations: 150.6 kB / 0.7002 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003653/0.2035, allocations: 34.17 kB / 0.7003 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006456/0.2042, allocations: 489.4 kB / 0.7007 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003614/0.2045, allocations: 0.7478 MB / 0.7015 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.591e-05/0.2046, allocations: 19.42 kB / 0.7015 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of SimCode: time 3.71e-07/0.2046, allocations: 4 kB / 0.7015 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of Templates: time 0.004521/0.2091, allocations: 2.951 MB / 0.7044 GB, free: 11.13 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