Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008235/0.008235, allocations: 100 kB / 15.87 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 193.9 kB / 16.79 MB, free: 5.809 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.509/1.509, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002485/0.002484, allocations: 282.4 kB / 290.9 MB, free: 2.199 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.029/1.029, allocations: 169.2 MB / 0.4983 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001801/0.001801, allocations: 93.3 kB / 0.5952 GB, free: 28.39 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1802/0.182, allocations: 86.98 MB / 0.6801 GB, free: 1.16 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03555/0.2176, allocations: 30.47 MB / 0.7099 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02278/0.2405, allocations: 13.56 MB / 0.7231 GB, free: 5.02 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004268/0.2448, allocations: 131.2 kB / 0.7232 GB, free: 4.891 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.008662/0.2535, allocations: 2.981 MB / 0.7261 GB, free: 1.906 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008799/0.2623, allocations: 2.472 MB / 0.7285 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.006025/0.2684, allocations: 1.832 MB / 0.7303 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01312/0.2815, allocations: 10.44 MB / 0.7405 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01736/0.2989, allocations: 9.052 MB / 0.7494 GB, free: 9.953 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008525/0.3075, allocations: 2.97 MB / 0.7523 GB, free: 6.973 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007944/0.3155, allocations: 3.434 MB / 0.7556 GB, free: 3.527 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.002159/0.3177, allocations: 396 kB / 0.756 GB, free: 3.141 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005479/0.3232, allocations: 1.533 MB / 0.7575 GB, free: 1.605 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.004878/0.3281, allocations: 2.155 MB / 0.7596 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.008586/0.3367, allocations: 2.648 MB / 0.7622 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01222/0.349, allocations: 7.943 MB / 0.7699 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/0.349, allocations: 4 kB / 0.7699 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.124e-06/0.349, allocations: 4 kB / 0.7699 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0004082/0.3494, allocations: 0 / 0.7699 GB, free: 4.816 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: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.3767/0.7261, allocations: 5.129 MB / 0.775 GB, free: 87.3 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.223e-05/0.7262, allocations: 9.5 kB / 0.775 GB, free: 87.3 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007371/0.7336, allocations: 1 MB / 0.7759 GB, free: 87.13 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007668/0.7413, allocations: 2.891 MB / 0.7788 GB, free: 85.96 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003076/0.7416, allocations: 313.8 kB / 0.7791 GB, free: 85.83 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001202/0.7428, allocations: 425.9 kB / 0.7795 GB, free: 85.69 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01244/0.7553, allocations: 6.79 MB / 0.7861 GB, free: 82.8 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001148/0.7554, allocations: 23.89 kB / 0.7861 GB, free: 82.79 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004382/0.7559, allocations: 191.3 kB / 0.7863 GB, free: 82.66 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009099/0.7568, allocations: 367 kB / 0.7867 GB, free: 82.62 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01107/0.7679, allocations: 5.112 MB / 0.7916 GB, free: 80.82 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03502/0.8029, allocations: 30.75 MB / 0.8217 GB, free: 53.78 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00204/0.805, allocations: 1.388 MB / 0.823 GB, free: 53.04 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001687/0.8067, allocations: 1.324 MB / 0.8243 GB, free: 52.38 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.541e-05/0.8068, allocations: 18.09 kB / 0.8243 GB, free: 52.38 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.368e-05/0.8069, allocations: 50.84 kB / 0.8244 GB, free: 52.33 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=130): time 3.527e-06/0.8069, allocations: 0 / 0.8244 GB, free: 52.33 MB / 0.5606 GB Notification: Performance of matching and sorting (n=199): time 0.07689/0.8838, allocations: 23.07 MB / 0.8469 GB, free: 33.11 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/0.8839, allocations: 73.41 kB / 0.847 GB, free: 33.02 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002371/0.8863, allocations: 2.07 MB / 0.849 GB, free: 30.94 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002224/0.8865, allocations: 57.7 kB / 0.8491 GB, free: 30.88 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009444/0.8874, allocations: 2.005 MB / 0.851 GB, free: 28.86 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005356/0.888, allocations: 0.6726 MB / 0.8517 GB, free: 28.19 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006291/0.8886, allocations: 412.2 kB / 0.8521 GB, free: 27.78 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.11e-05/0.8887, allocations: 305.1 kB / 0.8524 GB, free: 27.48 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001928/0.8906, allocations: 1.43 MB / 0.8538 GB, free: 26.04 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001889/0.8925, allocations: 2.013 MB / 0.8557 GB, free: 23.78 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003699/0.8962, allocations: 3.696 MB / 0.8593 GB, free: 19.84 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-05/0.8962, allocations: 4 kB / 0.8593 GB, free: 19.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.009445/0.9057, allocations: 5.667 MB / 0.8649 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.775e-05/0.9058, allocations: 12 kB / 0.8649 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.257e-05/0.9058, allocations: 20.16 kB / 0.8649 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0061/0.9119, allocations: 2.077 MB / 0.8669 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001438/0.9134, allocations: 379.3 kB / 0.8673 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03426/0.9476, allocations: 35.5 MB / 0.902 GB, free: 5.715 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002388/0.9501, allocations: 123.9 kB / 0.9021 GB, free: 5.594 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002069/0.9503, allocations: 92 kB / 0.9022 GB, free: 5.504 MB / 0.5919 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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.00252/0.9528, allocations: 1.505 MB / 0.9036 GB, free: 3.988 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005244/0.9533, allocations: 284.6 kB / 0.9039 GB, free: 3.707 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01064/0.964, allocations: 5.211 MB / 0.909 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.269e-05/0.964, allocations: 20 kB / 0.909 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.885e-05/0.9641, allocations: 24 kB / 0.909 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.276e-05/0.9641, allocations: 11.95 kB / 0.9091 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01822/0.9823, allocations: 9.68 MB / 0.9185 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-05/0.9824, allocations: 4 kB / 0.9185 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000894/0.9833, allocations: 219.2 kB / 0.9187 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006156/0.9895, allocations: 1.846 MB / 0.9205 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003537/0.9899, allocations: 43.94 kB / 0.9206 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03751/1.027, allocations: 34.5 MB / 0.9543 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.715e-06/1.027, allocations: 8 kB / 0.9543 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01111/1.039, allocations: 4.916 MB / 0.9591 GB, free: 8.418 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002002/1.041, allocations: 0.6186 MB / 0.9597 GB, free: 7.777 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007888/1.041, allocations: 44 kB / 0.9597 GB, free: 7.734 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001561/1.043, allocations: 123.8 kB / 0.9598 GB, free: 7.613 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006356/1.044, allocations: 193.5 kB / 0.96 GB, free: 7.426 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000139/1.044, allocations: 60 kB / 0.9601 GB, free: 7.367 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.00193/1.046, allocations: 1.374 MB / 0.9614 GB, free: 5.988 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.573e-06/1.046, allocations: 4 kB / 0.9614 GB, free: 5.984 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.003577/1.049, allocations: 1.055 MB / 0.9625 GB, free: 4.93 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003306/1.05, allocations: 170.9 kB / 0.9626 GB, free: 4.754 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01042/1.06, allocations: 6.263 MB / 0.9687 GB, free: 14.27 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-05/1.06, allocations: 8.062 kB / 0.9687 GB, free: 14.26 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.006543/1.067, allocations: 4.387 MB / 0.973 GB, free: 9.656 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004172/1.071, allocations: 0.9147 MB / 0.9739 GB, free: 8.762 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01556/1.086, allocations: 10.62 MB / 0.9843 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003423/1.09, allocations: 3.178 MB / 0.9874 GB, free: 10.86 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007405/1.091, allocations: 159.4 kB / 0.9875 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of SimCode: time 1.052e-06/1.091, allocations: 0 / 0.9875 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of Templates: time 1.123/2.214, allocations: 464.7 MB / 1.441 GB, free: 179 MB / 0.7637 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.ACLineCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineCalcHelperMain.o] Error 1