Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.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.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel") translateModel(BuildingSystems.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007869/0.007869, allocations: 101.4 kB / 15.88 MB, free: 5.863 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.001524/0.001524, allocations: 190.6 kB / 16.79 MB, free: 5.805 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.432/1.432, allocations: 222.9 MB / 240.5 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002113/0.002113, allocations: 282.8 kB / 290.9 MB, free: 2.152 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.97/0.97, allocations: 169.2 MB / 0.4984 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001689/0.001689, allocations: 85.66 kB / 0.5951 GB, free: 28.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.1772, allocations: 86.99 MB / 0.6801 GB, free: 1.109 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.RCModel): time 0.005828/0.1831, allocations: 4.365 MB / 0.6844 GB, free: 12.73 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002892/0.186, allocations: 1.868 MB / 0.6862 GB, free: 10.86 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001895/0.1862, allocations: 7.938 kB / 0.6862 GB, free: 10.85 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001458/0.1877, allocations: 0.5643 MB / 0.6867 GB, free: 10.29 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000521/0.1882, allocations: 246.9 kB / 0.687 GB, free: 10.05 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005422/0.1888, allocations: 231.5 kB / 0.6872 GB, free: 9.82 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007138/0.1895, allocations: 0.8374 MB / 0.688 GB, free: 8.98 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000445/0.1899, allocations: 310.9 kB / 0.6883 GB, free: 8.672 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002095/0.1902, allocations: 215.2 kB / 0.6885 GB, free: 8.461 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004155/0.1906, allocations: 275 kB / 0.6888 GB, free: 8.191 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.479e-05/0.1907, allocations: 28 kB / 0.6888 GB, free: 8.164 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004792/0.1911, allocations: 311.4 kB / 0.6891 GB, free: 7.859 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001446/0.1913, allocations: 139.5 kB / 0.6892 GB, free: 7.723 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002109/0.1915, allocations: 211 kB / 0.6894 GB, free: 7.516 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004758/0.192, allocations: 474.9 kB / 0.6899 GB, free: 7.051 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.192, allocations: 0 / 0.6899 GB, free: 7.051 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.192, allocations: 0 / 0.6899 GB, free: 7.051 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.192, allocations: 0 / 0.6899 GB, free: 7.051 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001235/0.1933, allocations: 0.7214 MB / 0.6906 GB, free: 6.281 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.1933, allocations: 12.02 kB / 0.6906 GB, free: 6.27 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009582/0.1943, allocations: 148.2 kB / 0.6907 GB, free: 6.125 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004008/0.1947, allocations: 330.5 kB / 0.6911 GB, free: 5.766 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.231e-05/0.1947, allocations: 29.38 kB / 0.6911 GB, free: 5.738 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.258e-05/0.1948, allocations: 32.38 kB / 0.6911 GB, free: 5.707 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007548/0.1956, allocations: 0.5356 MB / 0.6916 GB, free: 5.137 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.1956, allocations: 0 / 0.6916 GB, free: 5.137 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.295e-05/0.1956, allocations: 16 kB / 0.6917 GB, free: 5.121 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.954e-05/0.1957, allocations: 28.64 kB / 0.6917 GB, free: 5.094 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005963/0.1963, allocations: 390.2 kB / 0.6921 GB, free: 4.711 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002509/0.1988, allocations: 2.407 MB / 0.6944 GB, free: 2.082 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005518/0.1994, allocations: 266.4 kB / 0.6947 GB, free: 1.812 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001641/0.1996, allocations: 112.8 kB / 0.6948 GB, free: 1.699 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.1996, allocations: 4 kB / 0.6948 GB, free: 1.695 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.1996, allocations: 30.56 kB / 0.6948 GB, free: 1.656 MB / 494.1 MB Notification: Performance of pre-optimization done (n=20): time 1.363e-06/0.1996, allocations: 0 / 0.6948 GB, free: 1.656 MB / 494.1 MB Notification: Performance of matching and sorting (n=23): time 0.002229/0.2019, allocations: 1.132 MB / 0.6959 GB, free: 440 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.2019, allocations: 55.41 kB / 0.696 GB, free: 372 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003155/0.2022, allocations: 308.3 kB / 0.6962 GB, free: 60 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.2023, allocations: 33.64 kB / 0.6963 GB, free: 20 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001581/0.2024, allocations: 227.6 kB / 0.6965 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.328e-05/0.2025, allocations: 78.84 kB / 0.6966 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.2026, allocations: 65.94 kB / 0.6966 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.2027, allocations: 342.8 kB / 0.697 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001622/0.2029, allocations: 100.6 kB / 0.6971 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002165/0.2031, allocations: 192.4 kB / 0.6972 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003946/0.2035, allocations: 317.1 kB / 0.6975 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2035, allocations: 0 / 0.6975 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007537/0.2043, allocations: 453.3 kB / 0.698 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.2043, allocations: 4 kB / 0.698 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.2043, allocations: 4 kB / 0.698 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003739/0.2047, allocations: 98.67 kB / 0.6981 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002739/0.205, allocations: 63.91 kB / 0.6981 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003082/0.2081, allocations: 4.068 MB / 0.7021 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002248/0.2083, allocations: 23.98 kB / 0.7021 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.27e-05/0.2084, allocations: 12 kB / 0.7021 GB, free: 9.5 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002109/0.2086, allocations: 182.3 kB / 0.7023 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.781e-05/0.2087, allocations: 31.62 kB / 0.7024 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.626e-05/0.2087, allocations: 42.31 kB / 0.7024 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.2087, allocations: 4 kB / 0.7024 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.2088, allocations: 4 kB / 0.7024 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.2088, allocations: 0 / 0.7024 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004593/0.2092, allocations: 401.3 kB / 0.7028 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.2092, allocations: 0 / 0.7028 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001893/0.2094, allocations: 35.97 kB / 0.7028 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002999/0.2097, allocations: 94.44 kB / 0.7029 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/0.2098, allocations: 4 kB / 0.7029 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00292/0.2127, allocations: 4.064 MB / 0.7069 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-06/0.2127, allocations: 0 / 0.7069 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008018/0.2135, allocations: 0.558 MB / 0.7074 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/0.2137, allocations: 128.7 kB / 0.7075 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.033e-05/0.2137, allocations: 8 kB / 0.7076 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001947/0.2139, allocations: 8 kB / 0.7076 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.599e-05/0.214, allocations: 20.03 kB / 0.7076 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.214, allocations: 12 kB / 0.7076 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002092/0.2142, allocations: 207.1 kB / 0.7078 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.2142, allocations: 0 / 0.7078 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004797/0.2147, allocations: 100 kB / 0.7079 GB, free: 3.109 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * 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 (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001377/0.2148, allocations: 103.2 kB / 0.708 GB, free: 3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000842/0.2157, allocations: 0.5974 MB / 0.7086 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.2157, allocations: 0.6875 kB / 0.7086 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005065/0.2162, allocations: 491.7 kB / 0.709 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005071/0.2167, allocations: 73.34 kB / 0.7091 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.218, allocations: 0.9069 MB / 0.71 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000407/0.2184, allocations: 0.8348 MB / 0.7108 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.54e-05/0.2185, allocations: 27.44 kB / 0.7108 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of SimCode: time 4.01e-07/0.2185, allocations: 3.938 kB / 0.7108 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of Templates: time 0.01034/0.2289, allocations: 8.646 MB / 0.7193 GB, free: 7.309 MB / 0.5137 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.makefile make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.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.RCModelCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModelCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModelCalcHelperMain.o] Error 1