Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009036/0.0009035, allocations: 92.39 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.001039/0.001039, 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.399/1.399, allocations: 223.2 MB / 240.9 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001791/0.00179, allocations: 282.6 kB / 292.3 MB, free: 1.797 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9874/0.9874, allocations: 169.5 MB / 0.501 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004745/0.0004744, allocations: 16.34 kB / 0.5993 GB, free: 28.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2116, allocations: 88.55 MB / 0.6858 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04241/0.2541, allocations: 36.71 MB / 0.7216 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02071/0.2748, allocations: 10.86 MB / 0.7322 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004524/0.2794, allocations: 135.2 kB / 0.7324 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003242/0.2827, allocations: 0.7792 MB / 0.7331 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.007258/0.29, allocations: 2.088 MB / 0.7352 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005365/0.2954, allocations: 1.791 MB / 0.7369 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01501/0.3104, allocations: 13.2 MB / 0.7498 GB, free: 13.34 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.4422/0.7526, allocations: 14.44 MB / 0.7639 GB, free: 21.52 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009871/0.7625, allocations: 2.835 MB / 0.7667 GB, free: 21.41 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01025/0.7728, allocations: 3.875 MB / 0.7705 GB, free: 20.92 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.002539/0.7754, allocations: 349.7 kB / 0.7708 GB, free: 20.91 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005518/0.7809, allocations: 1.331 MB / 0.7721 GB, free: 20.91 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.005499/0.7864, allocations: 2.527 MB / 0.7746 GB, free: 20.7 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.006619/0.7931, allocations: 2.965 MB / 0.7775 GB, free: 19.79 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0132/0.8063, allocations: 10.22 MB / 0.7874 GB, free: 19.25 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.796e-06/0.8063, allocations: 3.375 kB / 0.7874 GB, free: 19.25 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.016e-06/0.8063, allocations: 0 / 0.7874 GB, free: 19.25 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0005093/0.8068, allocations: 0.5 kB / 0.7874 GB, free: 19.25 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01866/0.8255, allocations: 5.082 MB / 0.7924 GB, free: 16.41 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.8256, allocations: 9.031 kB / 0.7924 GB, free: 16.41 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008733/0.8343, allocations: 1.071 MB / 0.7935 GB, free: 15.92 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009712/0.8441, allocations: 3.424 MB / 0.7968 GB, free: 14.75 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005621/0.8447, allocations: 425.8 kB / 0.7972 GB, free: 14.73 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004106/0.8488, allocations: 0.5441 MB / 0.7977 GB, free: 14.73 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02652/0.8753, allocations: 9.373 MB / 0.8069 GB, free: 11.87 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001345/0.8755, allocations: 27.78 kB / 0.8069 GB, free: 11.86 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007256/0.8762, allocations: 249.6 kB / 0.8072 GB, free: 11.86 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006111/0.8768, allocations: 415.7 kB / 0.8076 GB, free: 11.8 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01327/0.8901, allocations: 7.132 MB / 0.8145 GB, free: 10.37 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04517/0.9353, allocations: 41.36 MB / 0.8549 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004466/0.9398, allocations: 3.102 MB / 0.8579 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002959/0.9428, allocations: 2.12 MB / 0.86 GB, free: 40 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001004/0.9429, allocations: 25.75 kB / 0.86 GB, free: 20 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.778e-05/0.943, allocations: 60.56 kB / 0.8601 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=209): time 4.158e-06/0.943, allocations: 0 / 0.8601 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of matching and sorting (n=212): time 0.02617/0.9692, allocations: 10.61 MB / 0.8705 GB, free: 5.309 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.4e-05/0.9693, allocations: 77.34 kB / 0.8705 GB, free: 5.223 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00427/0.9736, allocations: 2.009 MB / 0.8725 GB, free: 3.199 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001826/0.9738, allocations: 65.7 kB / 0.8726 GB, free: 3.129 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.002055/0.9759, allocations: 2.403 MB / 0.8749 GB, free: 0.7031 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007877/0.9767, allocations: 0.7277 MB / 0.8756 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004012/0.9771, allocations: 211.1 kB / 0.8758 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.9772, allocations: 301.1 kB / 0.8761 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002262/0.9795, allocations: 1.376 MB / 0.8775 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002998/0.9825, allocations: 2.109 MB / 0.8795 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00539/0.9879, allocations: 3.763 MB / 0.8832 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.939e-05/0.9879, allocations: 4 kB / 0.8832 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.009262/0.9972, allocations: 5.074 MB / 0.8881 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.15e-05/0.9973, allocations: 16 kB / 0.8882 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.772e-05/0.9973, allocations: 23.94 kB / 0.8882 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003766/1.001, allocations: 1.583 MB / 0.8897 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001811/1.003, allocations: 455.6 kB / 0.8902 GB, free: 0.7461 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02345/1.026, allocations: 17.1 MB / 0.9069 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003314/1.03, allocations: 151.9 kB / 0.907 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006553/1.03, allocations: 104 kB / 0.9071 GB, free: 14.91 MB / 0.6387 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 (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005377/1.036, allocations: 1.95 MB / 0.909 GB, free: 12.99 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001026/1.037, allocations: 288.8 kB / 0.9093 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008864/1.046, allocations: 4.455 MB / 0.9136 GB, free: 8.277 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.499e-05/1.046, allocations: 24 kB / 0.9137 GB, free: 8.254 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.385e-05/1.046, allocations: 16 kB / 0.9137 GB, free: 8.238 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.718e-05/1.046, allocations: 11.95 kB / 0.9137 GB, free: 8.227 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02178/1.068, allocations: 9.665 MB / 0.9231 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.201e-05/1.068, allocations: 4 kB / 0.9231 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001/1.069, allocations: 240.2 kB / 0.9234 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003425/1.072, allocations: 1.433 MB / 0.9248 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001667/1.072, allocations: 40 kB / 0.9248 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02198/1.094, allocations: 17.11 MB / 0.9415 GB, free: 11.24 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/1.094, allocations: 6.906 kB / 0.9415 GB, free: 11.24 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00819/1.103, allocations: 4.544 MB / 0.9459 GB, free: 6.672 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001894/1.105, allocations: 0.6342 MB / 0.9466 GB, free: 6.016 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003881/1.105, allocations: 40 kB / 0.9466 GB, free: 5.977 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001341/1.106, allocations: 119.5 kB / 0.9467 GB, free: 5.863 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005729/1.107, allocations: 184.3 kB / 0.9469 GB, free: 5.684 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001481/1.107, allocations: 56.25 kB / 0.9469 GB, free: 5.629 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002248/1.109, allocations: 1.325 MB / 0.9482 GB, free: 4.297 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.8e-07/1.109, allocations: 0 / 0.9482 GB, free: 4.297 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0049/1.114, allocations: 1.141 MB / 0.9493 GB, free: 3.156 MB / 0.67 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 (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004461/1.115, allocations: 165.9 kB / 0.9495 GB, free: 2.992 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.008309/1.123, allocations: 4.702 MB / 0.9541 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.796e-05/1.123, allocations: 4 kB / 0.9541 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.005018/1.128, allocations: 2.923 MB / 0.957 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006001/1.134, allocations: 0.8333 MB / 0.9578 GB, free: 10.55 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02161/1.156, allocations: 12.54 MB / 0.97 GB, free: 13.96 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004997/1.161, allocations: 3.78 MB / 0.9737 GB, free: 10.14 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009894/1.162, allocations: 171.4 kB / 0.9739 GB, free: 9.977 MB / 0.7012 GB Notification: Performance of SimCode: time 9.21e-07/1.162, allocations: 2.344 kB / 0.9739 GB, free: 9.977 MB / 0.7012 GB Notification: Performance of Templates: time 0.5592/1.721, allocations: 171.2 MB / 1.141 GB, free: 204.2 MB / 0.7637 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.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_R_NCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_NCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_NCalcHelperMain.o] Error 1