Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001763/0.001763, 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.002706/0.002706, allocations: 196.7 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.66/1.66, allocations: 222.9 MB / 240.5 MB, free: 4.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003401/0.003401, allocations: 278.8 kB / 290.9 MB, free: 2.082 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.188/1.188, allocations: 169.2 MB / 0.4983 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002319/0.002319, allocations: 98.11 kB / 0.5951 GB, free: 28.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.2149, allocations: 86.99 MB / 0.6801 GB, free: 1.156 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03862/0.2536, allocations: 32.29 MB / 0.7116 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02456/0.2782, allocations: 10.27 MB / 0.7217 GB, free: 6.484 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004115/0.2823, allocations: 131.3 kB / 0.7218 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.01203/0.2944, allocations: 3.486 MB / 0.7252 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008309/0.3027, allocations: 1.743 MB / 0.7269 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.008823/0.3116, allocations: 1.934 MB / 0.7288 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01758/0.3292, allocations: 10.57 MB / 0.7391 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02486/0.3541, allocations: 10.63 MB / 0.7495 GB, free: 9.855 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007882/0.362, allocations: 2.701 MB / 0.7521 GB, free: 7.145 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009003/0.3711, allocations: 3.551 MB / 0.7556 GB, free: 3.582 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.002407/0.3735, allocations: 452 kB / 0.756 GB, free: 3.141 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00707/0.3806, allocations: 1.88 MB / 0.7579 GB, free: 1.258 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.005046/0.3857, allocations: 2.339 MB / 0.7601 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00719/0.3929, allocations: 2.66 MB / 0.7627 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01393/0.4068, allocations: 8.59 MB / 0.7711 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.836e-06/0.4069, allocations: 7.938 kB / 0.7711 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.876e-06/0.4069, allocations: 4 kB / 0.7711 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0003434/0.4073, allocations: 0 / 0.7711 GB, free: 3.621 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.445/0.8523, allocations: 4.983 MB / 0.776 GB, free: 87.02 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/0.8523, allocations: 8.406 kB / 0.776 GB, free: 87.02 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006446/0.8588, allocations: 0.9558 MB / 0.7769 GB, free: 86.73 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007587/0.8664, allocations: 2.861 MB / 0.7797 GB, free: 85.29 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004588/0.8669, allocations: 349.5 kB / 0.7801 GB, free: 85.14 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001906/0.8688, allocations: 462.8 kB / 0.7805 GB, free: 84.99 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02101/0.8899, allocations: 7.663 MB / 0.788 GB, free: 81.68 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004037/0.8903, allocations: 29.42 kB / 0.788 GB, free: 81.67 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002042/0.8924, allocations: 203.2 kB / 0.7882 GB, free: 81.53 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005682/0.893, allocations: 312.6 kB / 0.7885 GB, free: 81.49 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01484/0.9079, allocations: 5.711 MB / 0.7941 GB, free: 79.5 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04522/0.9531, allocations: 35.09 MB / 0.8284 GB, free: 47.73 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003145/0.9563, allocations: 2.159 MB / 0.8305 GB, free: 46.27 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001624/0.958, allocations: 1.267 MB / 0.8317 GB, free: 45.6 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000128/0.9582, allocations: 17.22 kB / 0.8317 GB, free: 45.6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.9582, allocations: 47.84 kB / 0.8318 GB, free: 45.55 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=133): time 3.236e-06/0.9582, allocations: 0 / 0.8318 GB, free: 45.55 MB / 0.5606 GB Notification: Performance of matching and sorting (n=136): time 0.01366/0.9719, allocations: 7.089 MB / 0.8387 GB, free: 40.77 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/0.972, allocations: 72.66 kB / 0.8388 GB, free: 40.69 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00222/0.9742, allocations: 1.484 MB / 0.8402 GB, free: 39.16 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001306/0.9743, allocations: 45.7 kB / 0.8402 GB, free: 39.11 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008522/0.9752, allocations: 2.003 MB / 0.8422 GB, free: 37.09 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004203/0.9756, allocations: 492.5 kB / 0.8427 GB, free: 36.61 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005363/0.9762, allocations: 347.1 kB / 0.843 GB, free: 36.27 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.667e-05/0.9762, allocations: 301.1 kB / 0.8433 GB, free: 35.97 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001183/0.9774, allocations: 0.9096 MB / 0.8442 GB, free: 35.06 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00173/0.9792, allocations: 1.601 MB / 0.8457 GB, free: 33.14 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002707/0.9819, allocations: 2.737 MB / 0.8484 GB, free: 30.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.609e-05/0.9819, allocations: 8 kB / 0.8484 GB, free: 30.09 MB / 0.5606 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.005398/0.9873, allocations: 3.527 MB / 0.8519 GB, free: 26.52 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.573e-05/0.9874, allocations: 20.03 kB / 0.8519 GB, free: 26.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.193e-05/0.9874, allocations: 23.98 kB / 0.8519 GB, free: 26.47 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002424/0.9898, allocations: 0.9033 MB / 0.8528 GB, free: 25.54 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/0.9911, allocations: 351.4 kB / 0.8531 GB, free: 25.19 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01592/1.007, allocations: 21.21 MB / 0.8738 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001794/1.009, allocations: 99.92 kB / 0.8739 GB, free: 2.309 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003236/1.009, allocations: 87.98 kB / 0.874 GB, free: 2.223 MB / 0.5606 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 (185): * Single equations (assignments): 173 * 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 {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (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.002624/1.012, allocations: 1.611 MB / 0.8756 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005339/1.012, allocations: 205.5 kB / 0.8758 GB, free: 408 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006327/1.019, allocations: 2.995 MB / 0.8787 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.501e-05/1.019, allocations: 12 kB / 0.8787 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.055e-05/1.019, allocations: 12 kB / 0.8787 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.772e-05/1.019, allocations: 11.91 kB / 0.8787 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01523/1.034, allocations: 7.345 MB / 0.8859 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.501e-05/1.034, allocations: 4 kB / 0.8859 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009112/1.035, allocations: 176.3 kB / 0.8861 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00294/1.038, allocations: 0.8218 MB / 0.8869 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001549/1.038, allocations: 28 kB / 0.8869 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02119/1.059, allocations: 20.3 MB / 0.9067 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.284e-06/1.059, allocations: 4 kB / 0.9067 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006596/1.066, allocations: 3.031 MB / 0.9097 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001285/1.067, allocations: 462.6 kB / 0.9101 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000726/1.068, allocations: 35.89 kB / 0.9102 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001208/1.069, allocations: 71.92 kB / 0.9103 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004196/1.07, allocations: 128.2 kB / 0.9104 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.915e-05/1.07, allocations: 36 kB / 0.9104 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001851/1.072, allocations: 0.9756 MB / 0.9114 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/1.072, allocations: 0 / 0.9114 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.003921/1.076, allocations: 0.7891 MB / 0.9121 GB, free: 9.133 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 (91): * Single equations (assignments): 79 * 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,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,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003254/1.076, allocations: 143.1 kB / 0.9123 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.006675/1.083, allocations: 4.016 MB / 0.9162 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/1.083, allocations: 0 / 0.9162 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.004326/1.087, allocations: 2.736 MB / 0.9189 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004303/1.091, allocations: 0.668 MB / 0.9195 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01987/1.111, allocations: 9.784 MB / 0.9291 GB, free: 7.402 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005664/1.117, allocations: 3.189 MB / 0.9322 GB, free: 4.188 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006278/1.118, allocations: 127.4 kB / 0.9323 GB, free: 4.062 MB / 0.6231 GB Notification: Performance of SimCode: time 1.373e-06/1.118, allocations: 0 / 0.9323 GB, free: 4.062 MB / 0.6231 GB Notification: Performance of Templates: time 0.5922/1.71, allocations: 321.5 MB / 1.246 GB, free: 66.56 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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_LCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_LCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_LCalcHelperMain.o] Error 1