Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_ss.I|sen_dyn.I|RC_ss.Vc|RC_dyn.Vc",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel") translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_ss.I|sen_dyn.I|RC_ss.Vc|RC_dyn.Vc",fileNamePrefix="Buildings_latest_Buildings.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.001011/0.001011, allocations: 100.5 kB / 15.71 MB, free: 452 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.001399/0.001399, allocations: 176 kB / 16.58 MB, free: 6.422 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.56/1.56, allocations: 223.2 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.818/2.818, allocations: 436.7 MB / 0.7113 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003601/0.0003605, allocations: 15.92 kB / 0.8717 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8642/0.8646, allocations: 153.6 MB / 1.022 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.004837/0.8695, allocations: 3.834 MB / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00314/0.8727, allocations: 1.746 MB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002482/0.8729, allocations: 7.938 kB / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002998/0.8733, allocations: 67.48 kB / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0006134/0.8739, allocations: 214.9 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006197/0.8745, allocations: 186.1 kB / 1.028 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0007809/0.8753, allocations: 0.6852 MB / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005248/0.8758, allocations: 388.9 kB / 1.029 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002404/0.8761, allocations: 195.2 kB / 1.029 GB, free: 9.762 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004965/0.8766, allocations: 247.1 kB / 1.029 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.98e-05/0.8766, allocations: 20 kB / 1.029 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003293/0.877, allocations: 127.8 kB / 1.029 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000144/0.8771, allocations: 131.7 kB / 1.029 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.8772, allocations: 101.5 kB / 1.029 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004725/0.8777, allocations: 456.8 kB / 1.03 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.8777, allocations: 0 / 1.03 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.264e-06/0.8778, allocations: 0 / 1.03 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.8778, allocations: 0 / 1.03 GB, free: 8.695 MB / 0.7794 GB 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.001145/0.8789, allocations: 0.6666 MB / 1.031 GB, free: 7.98 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.879, allocations: 15.97 kB / 1.031 GB, free: 7.965 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000956/0.8799, allocations: 147.4 kB / 1.031 GB, free: 7.82 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004089/0.8804, allocations: 325.2 kB / 1.031 GB, free: 7.461 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.513e-05/0.8804, allocations: 32.95 kB / 1.031 GB, free: 7.43 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.718e-05/0.8804, allocations: 31.98 kB / 1.031 GB, free: 7.398 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007788/0.8812, allocations: 0.5314 MB / 1.032 GB, free: 6.832 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.8813, allocations: 0 / 1.032 GB, free: 6.832 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.997e-05/0.8813, allocations: 12 kB / 1.032 GB, free: 6.82 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-05/0.8814, allocations: 32.64 kB / 1.032 GB, free: 6.789 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005771/0.8819, allocations: 382.3 kB / 1.032 GB, free: 6.414 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002442/0.8844, allocations: 2.415 MB / 1.034 GB, free: 3.777 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005024/0.8849, allocations: 260 kB / 1.035 GB, free: 3.516 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001672/0.8851, allocations: 108.8 kB / 1.035 GB, free: 3.406 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.8851, allocations: 4 kB / 1.035 GB, free: 3.402 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.8851, allocations: 30.56 kB / 1.035 GB, free: 3.363 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 4.308e-06/0.8852, allocations: 3.984 kB / 1.035 GB, free: 3.359 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23): time 0.002104/0.8873, allocations: 1.133 MB / 1.036 GB, free: 2.129 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/0.8873, allocations: 59.36 kB / 1.036 GB, free: 2.059 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003005/0.8876, allocations: 296.5 kB / 1.036 GB, free: 1.762 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.8877, allocations: 33.7 kB / 1.036 GB, free: 1.723 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/0.8878, allocations: 227.6 kB / 1.036 GB, free: 1.492 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.014e-05/0.8879, allocations: 82.83 kB / 1.037 GB, free: 1.41 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.573e-05/0.8879, allocations: 8 kB / 1.037 GB, free: 1.402 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.888, allocations: 334.8 kB / 1.037 GB, free: 1.066 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001736/0.8882, allocations: 108.5 kB / 1.037 GB, free: 0.957 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002238/0.8884, allocations: 191.7 kB / 1.037 GB, free: 0.7305 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000206/0.8887, allocations: 133.1 kB / 1.037 GB, free: 0.6016 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.8887, allocations: 0 / 1.037 GB, free: 0.6016 MB / 0.7794 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007284/0.8894, allocations: 446.1 kB / 1.038 GB, free: 156 kB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.8894, allocations: 8 kB / 1.038 GB, free: 148 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.8894, allocations: 0 / 1.038 GB, free: 148 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003559/0.8898, allocations: 102.7 kB / 1.038 GB, free: 36 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002918/0.8901, allocations: 67.89 kB / 1.038 GB, free: 15.97 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003018/0.8931, allocations: 4.064 MB / 1.042 GB, free: 11.5 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002024/0.8934, allocations: 8 kB / 1.042 GB, free: 11.49 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.521e-05/0.8934, allocations: 20.14 kB / 1.042 GB, free: 11.47 MB / 0.795 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002191/0.8936, allocations: 181.7 kB / 1.042 GB, free: 11.29 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.769e-05/0.8937, allocations: 31.62 kB / 1.042 GB, free: 11.25 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.657e-05/0.8938, allocations: 46.25 kB / 1.042 GB, free: 11.21 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.8938, allocations: 0 / 1.042 GB, free: 11.21 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/0.8938, allocations: 4 kB / 1.042 GB, free: 11.2 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.8938, allocations: 7.938 kB / 1.042 GB, free: 11.2 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004438/0.8943, allocations: 397.4 kB / 1.042 GB, free: 10.76 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.8943, allocations: 0 / 1.042 GB, free: 10.76 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001878/0.8945, allocations: 31.98 kB / 1.043 GB, free: 10.73 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003213/0.8948, allocations: 102.5 kB / 1.043 GB, free: 10.62 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/0.8948, allocations: 8 kB / 1.043 GB, free: 10.61 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002811/0.8976, allocations: 4.06 MB / 1.047 GB, free: 6.148 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.8977, allocations: 3.938 kB / 1.047 GB, free: 6.145 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000774/0.8984, allocations: 0.5549 MB / 1.047 GB, free: 5.566 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001378/0.8986, allocations: 124.7 kB / 1.047 GB, free: 5.426 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.707e-05/0.8986, allocations: 4 kB / 1.047 GB, free: 5.422 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001892/0.8988, allocations: 11.98 kB / 1.047 GB, free: 5.41 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.405e-05/0.8989, allocations: 27.97 kB / 1.047 GB, free: 5.383 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.715e-05/0.8989, allocations: 12 kB / 1.047 GB, free: 5.371 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0002071/0.8991, allocations: 203.1 kB / 1.047 GB, free: 5.176 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8991, allocations: 0 / 1.047 GB, free: 5.176 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004738/0.8996, allocations: 99.95 kB / 1.048 GB, free: 5.078 MB / 0.795 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001394/0.8998, allocations: 107.2 kB / 1.048 GB, free: 4.961 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0008366/0.9006, allocations: 0.6012 MB / 1.048 GB, free: 4.32 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.9006, allocations: 0.6875 kB / 1.048 GB, free: 4.32 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0004955/0.9011, allocations: 476.5 kB / 1.049 GB, free: 3.816 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004852/0.9016, allocations: 73.91 kB / 1.049 GB, free: 3.75 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/0.9029, allocations: 0.9041 MB / 1.05 GB, free: 2.816 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004577/0.9034, allocations: 0.8347 MB / 1.05 GB, free: 1.957 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.418e-05/0.9034, allocations: 23.44 kB / 1.051 GB, free: 1.934 MB / 0.795 GB Notification: Performance of SimCode: time 5.71e-07/0.9035, allocations: 0 / 1.051 GB, free: 1.934 MB / 0.795 GB Notification: Performance of Templates: time 0.01084/0.9143, allocations: 8.621 MB / 1.059 GB, free: 9.32 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModelCalcHelperMain.o OMCppBuildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModelCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModelCalcHelperMain.o] Error 1