Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000831/0.0008313, allocations: 91.53 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.001042/0.001042, allocations: 183.5 kB / 16.92 MB, free: 6.926 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.456/1.456, allocations: 223.2 MB / 240.9 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001907/0.001907, allocations: 270.9 kB / 292.3 MB, free: 1.789 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9995/0.9995, allocations: 169.5 MB / 0.501 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000503/0.0005031, allocations: 14.47 kB / 0.5993 GB, free: 28.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1957/0.1962, allocations: 88.56 MB / 0.6858 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02898/0.2253, allocations: 25.71 MB / 0.7109 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01459/0.2399, allocations: 7.997 MB / 0.7187 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00348/0.2434, allocations: 99.44 kB / 0.7188 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002216/0.2457, allocations: 0.5233 MB / 0.7193 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005731/0.2514, allocations: 1.485 MB / 0.7208 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004605/0.256, allocations: 1.399 MB / 0.7221 GB, free: 9.77 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01089/0.267, allocations: 8.693 MB / 0.7306 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01538/0.2823, allocations: 9.165 MB / 0.7396 GB, free: 7.801 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003942/0.2863, allocations: 1.851 MB / 0.7414 GB, free: 5.941 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004546/0.2909, allocations: 2.468 MB / 0.7438 GB, free: 3.465 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001056/0.2919, allocations: 212 kB / 0.744 GB, free: 3.258 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003231/0.2952, allocations: 1.193 MB / 0.7452 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.002601/0.2978, allocations: 1.668 MB / 0.7468 GB, free: 400 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.003526/0.3013, allocations: 1.965 MB / 0.7487 GB, free: 14.41 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.006645/0.308, allocations: 6.65 MB / 0.7552 GB, free: 7.742 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.308, allocations: 0 / 0.7552 GB, free: 7.742 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.633e-06/0.308, allocations: 4 kB / 0.7552 GB, free: 7.738 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001504/0.3082, allocations: 0 / 0.7552 GB, free: 7.738 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.006906/0.3151, allocations: 3.425 MB / 0.7586 GB, free: 4.25 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.3152, allocations: 8.031 kB / 0.7586 GB, free: 4.242 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004214/0.3194, allocations: 0.7961 MB / 0.7593 GB, free: 3.441 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004144/0.3235, allocations: 2.428 MB / 0.7617 GB, free: 0.957 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001817/0.3237, allocations: 275.6 kB / 0.762 GB, free: 0.6875 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006804/0.3244, allocations: 380.5 kB / 0.7623 GB, free: 324 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4052/0.7296, allocations: 5.987 MB / 0.7682 GB, free: 69.86 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001127/0.7298, allocations: 20.22 kB / 0.7682 GB, free: 69.85 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004048/0.7302, allocations: 156.5 kB / 0.7684 GB, free: 69.74 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000686/0.7309, allocations: 284.9 kB / 0.7686 GB, free: 69.71 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008875/0.7398, allocations: 4.524 MB / 0.773 GB, free: 68.14 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02617/0.766, allocations: 27.7 MB / 0.8001 GB, free: 44.75 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002054/0.7681, allocations: 1.122 MB / 0.8012 GB, free: 44.15 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001364/0.7695, allocations: 1.018 MB / 0.8022 GB, free: 43.64 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.584e-05/0.7696, allocations: 12.12 kB / 0.8022 GB, free: 43.64 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.7696, allocations: 48.56 kB / 0.8022 GB, free: 43.59 MB / 0.545 GB Notification: Performance of pre-optimization done (n=110): time 4.419e-06/0.7696, allocations: 0 / 0.8022 GB, free: 43.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=131): time 0.02137/0.791, allocations: 9.678 MB / 0.8117 GB, free: 37.93 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.7911, allocations: 68.53 kB / 0.8118 GB, free: 37.86 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002049/0.7931, allocations: 1.497 MB / 0.8132 GB, free: 37.05 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000107/0.7933, allocations: 49.58 kB / 0.8133 GB, free: 37.01 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008168/0.7941, allocations: 1.662 MB / 0.8149 GB, free: 35.55 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003126/0.7944, allocations: 468.5 kB / 0.8153 GB, free: 35.15 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001999/0.7946, allocations: 144.5 kB / 0.8155 GB, free: 35.06 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 6.502e-05/0.7947, allocations: 309 kB / 0.8158 GB, free: 34.75 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001093/0.7958, allocations: 0.9128 MB / 0.8167 GB, free: 34.28 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001289/0.7971, allocations: 1.462 MB / 0.8181 GB, free: 33.08 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002474/0.7996, allocations: 2.551 MB / 0.8206 GB, free: 31.28 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.882e-06/0.7996, allocations: 6.875 kB / 0.8206 GB, free: 31.28 MB / 0.545 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005185/0.8048, allocations: 3.289 MB / 0.8238 GB, free: 28.89 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.098e-05/0.8048, allocations: 12 kB / 0.8238 GB, free: 28.88 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.234e-05/0.8048, allocations: 20 kB / 0.8238 GB, free: 28.86 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002034/0.8069, allocations: 0.738 MB / 0.8245 GB, free: 28.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001353/0.8082, allocations: 383.4 kB / 0.8249 GB, free: 27.72 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01147/0.8197, allocations: 15.77 MB / 0.8403 GB, free: 10.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001714/0.8215, allocations: 103.9 kB / 0.8404 GB, free: 10.65 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000236/0.8217, allocations: 76 kB / 0.8405 GB, free: 10.58 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002452/0.8242, allocations: 1.318 MB / 0.8418 GB, free: 9.254 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005372/0.8247, allocations: 205.6 kB / 0.842 GB, free: 9.051 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004638/0.8294, allocations: 2.784 MB / 0.8447 GB, free: 6.23 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.8294, allocations: 16 kB / 0.8447 GB, free: 6.215 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.398e-05/0.8294, allocations: 4 kB / 0.8447 GB, free: 6.211 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/0.8295, allocations: 7.969 kB / 0.8447 GB, free: 6.203 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009997/0.8395, allocations: 6.223 MB / 0.8508 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-05/0.8395, allocations: 4.188 kB / 0.8508 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001158/0.8407, allocations: 232.3 kB / 0.851 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002037/0.8427, allocations: 0.675 MB / 0.8517 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001134/0.8428, allocations: 32 kB / 0.8517 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01546/0.8583, allocations: 15.53 MB / 0.8669 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.516e-06/0.8584, allocations: 7.938 kB / 0.8669 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007137/0.8655, allocations: 4.004 MB / 0.8708 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001235/0.8668, allocations: 450.7 kB / 0.8712 GB, free: 9.578 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005784/0.8674, allocations: 39.98 kB / 0.8713 GB, free: 9.539 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001305/0.8687, allocations: 79.89 kB / 0.8713 GB, free: 9.461 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003699/0.8691, allocations: 120.6 kB / 0.8714 GB, free: 9.344 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001016/0.8692, allocations: 44 kB / 0.8715 GB, free: 9.301 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001894/0.8711, allocations: 0.9903 MB / 0.8725 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8711, allocations: 0 / 0.8725 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003014/0.8741, allocations: 0.6836 MB / 0.8731 GB, free: 7.637 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,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%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003396/0.8745, allocations: 151.7 kB / 0.8733 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.005665/0.8801, allocations: 3.507 MB / 0.8767 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/0.8802, allocations: 8.062 kB / 0.8767 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003367/0.8835, allocations: 2.288 MB / 0.8789 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004763/0.8883, allocations: 0.6191 MB / 0.8795 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01708/0.9054, allocations: 8.703 MB / 0.888 GB, free: 8.047 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004235/0.9097, allocations: 2.725 MB / 0.8907 GB, free: 5.293 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006988/0.9104, allocations: 135.4 kB / 0.8908 GB, free: 5.164 MB / 0.5919 GB Notification: Performance of SimCode: time 9.12e-07/0.9104, allocations: 0 / 0.8908 GB, free: 5.164 MB / 0.5919 GB Notification: Performance of Templates: time 0.5374/1.448, allocations: 209.2 MB / 1.095 GB, free: 215.1 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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_RLCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLCalcHelperMain.o] Error 1