Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 100.1 kB / 15.88 MB, free: 12 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.001659/0.001659, allocations: 197.5 kB / 16.79 MB, free: 6.863 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.698/1.698, allocations: 222.9 MB / 240.5 MB, free: 4.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003258/0.003258, allocations: 283.4 kB / 290.9 MB, free: 2.055 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.332/1.332, allocations: 169.2 MB / 0.4983 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002491/0.002491, allocations: 89.47 kB / 0.5951 GB, free: 28.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.253, allocations: 86.99 MB / 0.6801 GB, free: 1.141 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.05202/0.3051, allocations: 34.79 MB / 0.7141 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02148/0.3266, allocations: 9.906 MB / 0.7237 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004886/0.3316, allocations: 131.3 kB / 0.7239 GB, free: 4.195 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.01032/0.3419, allocations: 3.559 MB / 0.7273 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007335/0.3493, allocations: 1.917 MB / 0.7292 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.006178/0.3555, allocations: 1.788 MB / 0.731 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01388/0.3694, allocations: 11.19 MB / 0.7419 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02194/0.3914, allocations: 10.7 MB / 0.7523 GB, free: 6.898 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008007/0.3994, allocations: 2.872 MB / 0.7551 GB, free: 4.016 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008061/0.4075, allocations: 3.804 MB / 0.7589 GB, free: 204 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.002451/0.41, allocations: 464 kB / 0.7593 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004877/0.4149, allocations: 1.447 MB / 0.7607 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.004604/0.4196, allocations: 2.385 MB / 0.763 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.007184/0.4268, allocations: 2.854 MB / 0.7658 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01138/0.4382, allocations: 8.789 MB / 0.7744 GB, free: 236 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.987e-06/0.4382, allocations: 4 kB / 0.7744 GB, free: 232 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.934e-06/0.4383, allocations: 4 kB / 0.7744 GB, free: 228 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0004443/0.4387, allocations: 0 / 0.7744 GB, free: 228 kB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.4227/0.8614, allocations: 5.392 MB / 0.7797 GB, free: 87.62 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.75e-05/0.8615, allocations: 13.14 kB / 0.7797 GB, free: 87.62 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006919/0.8684, allocations: 0.9635 MB / 0.7806 GB, free: 87.33 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00845/0.8769, allocations: 2.998 MB / 0.7836 GB, free: 85.82 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007687/0.8777, allocations: 357.3 kB / 0.7839 GB, free: 85.67 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002495/0.8802, allocations: 468.5 kB / 0.7844 GB, free: 85.52 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02293/0.9032, allocations: 7.901 MB / 0.7921 GB, free: 82.11 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000201/0.9034, allocations: 21.77 kB / 0.7921 GB, free: 82.09 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001103/0.9045, allocations: 211.4 kB / 0.7923 GB, free: 81.95 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006265/0.9052, allocations: 365.9 kB / 0.7926 GB, free: 81.9 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0188/0.924, allocations: 5.941 MB / 0.7984 GB, free: 79.53 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03552/0.9595, allocations: 36.21 MB / 0.8338 GB, free: 46.16 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002666/0.9622, allocations: 2.14 MB / 0.8359 GB, free: 45.05 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001465/0.9637, allocations: 1.48 MB / 0.8373 GB, free: 44.32 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.345e-05/0.9638, allocations: 21.95 kB / 0.8374 GB, free: 44.32 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.958e-05/0.9639, allocations: 54.97 kB / 0.8374 GB, free: 44.27 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=157): time 3.707e-06/0.9639, allocations: 0 / 0.8374 GB, free: 44.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=160): time 0.01192/0.9758, allocations: 7.537 MB / 0.8448 GB, free: 36.53 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.9759, allocations: 68.72 kB / 0.8448 GB, free: 36.45 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002147/0.978, allocations: 1.864 MB / 0.8467 GB, free: 34.56 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001337/0.9782, allocations: 53.7 kB / 0.8467 GB, free: 34.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008358/0.979, allocations: 2.126 MB / 0.8488 GB, free: 32.36 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003532/0.9794, allocations: 0.5536 MB / 0.8493 GB, free: 31.81 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005145/0.9799, allocations: 407.7 kB / 0.8497 GB, free: 31.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.578e-05/0.9799, allocations: 305.1 kB / 0.85 GB, free: 31.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001225/0.9812, allocations: 1.058 MB / 0.851 GB, free: 30.04 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001559/0.9827, allocations: 1.764 MB / 0.8528 GB, free: 27.96 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002832/0.9856, allocations: 3.052 MB / 0.8557 GB, free: 24.59 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/0.9856, allocations: 8 kB / 0.8558 GB, free: 24.58 MB / 0.5606 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.005935/0.9915, allocations: 3.92 MB / 0.8596 GB, free: 20.61 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.583e-05/0.9916, allocations: 16 kB / 0.8596 GB, free: 20.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.42e-05/0.9916, allocations: 20.84 kB / 0.8596 GB, free: 20.58 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002156/0.9938, allocations: 0.931 MB / 0.8605 GB, free: 19.61 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001416/0.9952, allocations: 431.1 kB / 0.8609 GB, free: 19.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01516/1.01, allocations: 21.05 MB / 0.8815 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002495/1.013, allocations: 127.9 kB / 0.8816 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002625/1.013, allocations: 92 kB / 0.8817 GB, free: 12.36 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003094/1.016, allocations: 1.653 MB / 0.8833 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007938/1.017, allocations: 257 kB / 0.8836 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006218/1.023, allocations: 3.264 MB / 0.8867 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.019e-05/1.023, allocations: 16 kB / 0.8868 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.869e-05/1.023, allocations: 15.94 kB / 0.8868 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.781e-05/1.023, allocations: 11.97 kB / 0.8868 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01502/1.038, allocations: 7.544 MB / 0.8942 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.268e-05/1.039, allocations: 12 kB / 0.8942 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009021/1.039, allocations: 215.6 kB / 0.8944 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002425/1.042, allocations: 0.8966 MB / 0.8952 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001243/1.042, allocations: 32 kB / 0.8953 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01998/1.062, allocations: 21.01 MB / 0.9158 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.088e-05/1.062, allocations: 11.92 kB / 0.9158 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006171/1.068, allocations: 3.375 MB / 0.9191 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001613/1.07, allocations: 0.5291 MB / 0.9196 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004124/1.07, allocations: 43.86 kB / 0.9197 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00108/1.071, allocations: 95.89 kB / 0.9198 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004327/1.072, allocations: 141 kB / 0.9199 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001032/1.072, allocations: 40 kB / 0.9199 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0018/1.074, allocations: 1.229 MB / 0.9211 GB, free: 2.031 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.61e-07/1.074, allocations: 0 / 0.9211 GB, free: 2.031 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.003546/1.077, allocations: 0.9062 MB / 0.922 GB, free: 1.125 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003356/1.078, allocations: 157.7 kB / 0.9222 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.006816/1.085, allocations: 4.418 MB / 0.9265 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.245e-05/1.085, allocations: 4 kB / 0.9265 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.004539/1.089, allocations: 2.992 MB / 0.9294 GB, free: 9.258 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004138/1.093, allocations: 0.7636 MB / 0.9301 GB, free: 8.504 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01766/1.111, allocations: 10.33 MB / 0.9402 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004202/1.115, allocations: 3.287 MB / 0.9434 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008276/1.116, allocations: 155.4 kB / 0.9436 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of SimCode: time 1.983e-06/1.116, allocations: 0 / 0.9436 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of Templates: time 0.632/1.748, allocations: 339.6 MB / 1.275 GB, free: 38.05 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RCalcHelperMain.o] Error 1