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.000794/0.0007939, allocations: 98.88 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.0008516/0.0008516, allocations: 186.5 kB / 16.92 MB, free: 6.77 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.339/1.339, allocations: 223.2 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001654/0.001653, allocations: 271.1 kB / 292.3 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9584/0.9584, allocations: 169.5 MB / 0.501 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004645/0.0004645, allocations: 18.78 kB / 0.5993 GB, free: 28.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1899/0.1903, allocations: 88.54 MB / 0.6858 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.RCModel): time 0.004835/0.1952, allocations: 3.979 MB / 0.6897 GB, free: 11.09 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002713/0.198, allocations: 1.845 MB / 0.6915 GB, free: 9.246 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001526/0.1981, allocations: 13.88 kB / 0.6915 GB, free: 9.234 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002169/0.1984, allocations: 67.42 kB / 0.6915 GB, free: 9.168 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005147/0.1989, allocations: 248.2 kB / 0.6918 GB, free: 8.926 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004998/0.1994, allocations: 235.6 kB / 0.692 GB, free: 8.699 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000762/0.2002, allocations: 0.8413 MB / 0.6928 GB, free: 7.855 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005112/0.2007, allocations: 434.8 kB / 0.6932 GB, free: 7.402 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002264/0.2009, allocations: 199.2 kB / 0.6934 GB, free: 7.207 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003797/0.2013, allocations: 259 kB / 0.6937 GB, free: 6.953 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.916e-05/0.2014, allocations: 20 kB / 0.6937 GB, free: 6.934 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004096/0.2018, allocations: 303.4 kB / 0.694 GB, free: 6.637 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001198/0.2019, allocations: 131.5 kB / 0.6941 GB, free: 6.508 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001895/0.2021, allocations: 228.6 kB / 0.6943 GB, free: 6.277 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004558/0.2026, allocations: 466.8 kB / 0.6948 GB, free: 5.82 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.2026, allocations: 0 / 0.6948 GB, free: 5.82 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2026, allocations: 0 / 0.6948 GB, free: 5.82 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.2026, allocations: 4 kB / 0.6948 GB, free: 5.816 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.001049/0.2036, allocations: 0.6608 MB / 0.6954 GB, free: 5.109 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.2037, allocations: 12.03 kB / 0.6954 GB, free: 5.098 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009105/0.2046, allocations: 148.2 kB / 0.6956 GB, free: 4.953 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003891/0.205, allocations: 330.5 kB / 0.6959 GB, free: 4.594 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.776e-05/0.205, allocations: 21.38 kB / 0.6959 GB, free: 4.574 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.066e-05/0.2051, allocations: 40.38 kB / 0.6959 GB, free: 4.535 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007345/0.2059, allocations: 0.5317 MB / 0.6965 GB, free: 3.969 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.2059, allocations: 3.938 kB / 0.6965 GB, free: 3.965 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.968e-05/0.2059, allocations: 16 kB / 0.6965 GB, free: 3.949 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-05/0.206, allocations: 40.56 kB / 0.6965 GB, free: 3.91 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005643/0.2065, allocations: 386.3 kB / 0.6969 GB, free: 3.531 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00237/0.2089, allocations: 2.411 MB / 0.6992 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004926/0.2094, allocations: 269.2 kB / 0.6995 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001651/0.2096, allocations: 116.8 kB / 0.6996 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.218e-05/0.2096, allocations: 0 / 0.6996 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.2097, allocations: 34.56 kB / 0.6996 GB, free: 484 kB / 494.1 MB Notification: Performance of pre-optimization done (n=20): time 1.052e-06/0.2097, allocations: 0 / 0.6996 GB, free: 484 kB / 494.1 MB Notification: Performance of matching and sorting (n=23): time 0.002166/0.2118, allocations: 1.128 MB / 0.7007 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/0.2119, allocations: 59.34 kB / 0.7008 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000315/0.2122, allocations: 300.4 kB / 0.7011 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.804e-05/0.2122, allocations: 29.7 kB / 0.7011 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001497/0.2124, allocations: 231.6 kB / 0.7013 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.593e-05/0.2125, allocations: 94.73 kB / 0.7014 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.666e-05/0.2125, allocations: 29.7 kB / 0.7015 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.2127, allocations: 338.8 kB / 0.7018 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001771/0.2129, allocations: 104.6 kB / 0.7019 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000216/0.2131, allocations: 188.4 kB / 0.7021 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003851/0.2135, allocations: 317.1 kB / 0.7024 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.2135, allocations: 0 / 0.7024 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000708/0.2142, allocations: 445.1 kB / 0.7028 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.2142, allocations: 5.875 kB / 0.7028 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.2142, allocations: 4 kB / 0.7028 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003459/0.2146, allocations: 94.81 kB / 0.7029 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000261/0.2149, allocations: 67.89 kB / 0.7029 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003023/0.2179, allocations: 4.076 MB / 0.7069 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002043/0.2181, allocations: 12 kB / 0.7069 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.175e-05/0.2181, allocations: 12 kB / 0.7069 GB, free: 8.352 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.0001985/0.2183, allocations: 179.1 kB / 0.7071 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.889e-05/0.2184, allocations: 43.7 kB / 0.7072 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.736e-05/0.2185, allocations: 38.31 kB / 0.7072 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.2185, allocations: 0 / 0.7072 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.2185, allocations: 4 kB / 0.7072 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.2185, allocations: 0 / 0.7072 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004425/0.219, allocations: 401.3 kB / 0.7076 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.219, allocations: 0 / 0.7076 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001771/0.2192, allocations: 35.92 kB / 0.7076 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002805/0.2194, allocations: 94.48 kB / 0.7077 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.359e-05/0.2195, allocations: 7.938 kB / 0.7077 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002908/0.2224, allocations: 4.072 MB / 0.7117 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.2224, allocations: 3.984 kB / 0.7117 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007914/0.2232, allocations: 0.5577 MB / 0.7122 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.2233, allocations: 128.8 kB / 0.7124 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.668e-05/0.2234, allocations: 7.984 kB / 0.7124 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001913/0.2236, allocations: 12 kB / 0.7124 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.506e-05/0.2236, allocations: 23.91 kB / 0.7124 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.2237, allocations: 4 kB / 0.7124 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002095/0.2239, allocations: 207.1 kB / 0.7126 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2239, allocations: 0 / 0.7126 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004354/0.2243, allocations: 100 kB / 0.7127 GB, free: 1.945 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.0001282/0.2245, allocations: 111.2 kB / 0.7128 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008376/0.2253, allocations: 0.6017 MB / 0.7134 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.2253, allocations: 0 / 0.7134 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004922/0.2258, allocations: 480.6 kB / 0.7139 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004916/0.2263, allocations: 79.08 kB / 0.7139 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001258/0.2276, allocations: 0.9467 MB / 0.7149 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004172/0.228, allocations: 0.8309 MB / 0.7157 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.576e-05/0.2281, allocations: 23.44 kB / 0.7157 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.2281, allocations: 3.938 kB / 0.7157 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of Templates: time 0.01128/0.2394, allocations: 8.614 MB / 0.7241 GB, free: 6.133 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