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.01093/0.01093, allocations: 100.1 kB / 15.87 MB, free: 5.863 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.002155/0.002155, allocations: 187.9 kB / 16.79 MB, free: 5.805 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.452/1.452, allocations: 222.9 MB / 240.4 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002255/0.002256, allocations: 275 kB / 290.9 MB, free: 2.18 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.021/1.021, allocations: 169.2 MB / 0.4984 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001676/0.001676, allocations: 92.59 kB / 0.5952 GB, free: 28.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.2115, allocations: 86.98 MB / 0.6801 GB, free: 1.105 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04248/0.254, allocations: 37.59 MB / 0.7168 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02173/0.2758, allocations: 10.96 MB / 0.7275 GB, free: 436 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005223/0.2811, allocations: 135.3 kB / 0.7276 GB, free: 300 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.01184/0.293, allocations: 4.076 MB / 0.7316 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.007927/0.3009, allocations: 2.092 MB / 0.7337 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.006802/0.3078, allocations: 1.966 MB / 0.7356 GB, free: 8.148 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01481/0.3226, allocations: 13.18 MB / 0.7484 GB, free: 10.93 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02361/0.3462, allocations: 12.45 MB / 0.7606 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008403/0.3547, allocations: 3.406 MB / 0.7639 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01066/0.3654, allocations: 4.592 MB / 0.7684 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.003605/0.369, allocations: 0.5586 MB / 0.769 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007057/0.3761, allocations: 1.556 MB / 0.7705 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.006724/0.3829, allocations: 2.884 MB / 0.7733 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.7105/1.093, allocations: 3.354 MB / 0.7766 GB, free: 31.8 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.0166/1.11, allocations: 10.46 MB / 0.7868 GB, free: 31.51 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/1.11, allocations: 0.9688 kB / 0.7868 GB, free: 31.51 MB / 0.5607 GB Notification: Performance of FrontEnd: time 1.262e-06/1.11, allocations: 0 / 0.7868 GB, free: 31.51 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 0.0005174/1.111, allocations: 2.25 kB / 0.7868 GB, free: 31.51 MB / 0.5607 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.02965/1.14, allocations: 6.306 MB / 0.7929 GB, free: 29.33 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/1.14, allocations: 11.64 kB / 0.793 GB, free: 29.33 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008302/1.149, allocations: 1.068 MB / 0.794 GB, free: 29.01 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01014/1.159, allocations: 3.422 MB / 0.7973 GB, free: 28.3 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000433/1.159, allocations: 424.7 kB / 0.7977 GB, free: 28.29 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003819/1.163, allocations: 0.543 MB / 0.7983 GB, free: 28.29 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03227/1.195, allocations: 9.382 MB / 0.8074 GB, free: 27.22 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004816/1.196, allocations: 22.31 kB / 0.8075 GB, free: 27.22 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003686/1.2, allocations: 245 kB / 0.8077 GB, free: 27.22 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001016/1.201, allocations: 419 kB / 0.8081 GB, free: 27.21 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02145/1.222, allocations: 7.121 MB / 0.815 GB, free: 27.16 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05619/1.278, allocations: 41.32 MB / 0.8554 GB, free: 6.312 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00478/1.283, allocations: 3.103 MB / 0.8584 GB, free: 4.727 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002713/1.286, allocations: 2.139 MB / 0.8605 GB, free: 3.625 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001112/1.286, allocations: 25.31 kB / 0.8605 GB, free: 3.625 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.908e-05/1.286, allocations: 64.16 kB / 0.8606 GB, free: 3.562 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=209): time 3.817e-06/1.286, allocations: 0 / 0.8606 GB, free: 3.562 MB / 0.5763 GB Notification: Performance of matching and sorting (n=212): time 0.02482/1.311, allocations: 10.54 MB / 0.8709 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.409e-05/1.311, allocations: 77.19 kB / 0.871 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004239/1.315, allocations: 2.005 MB / 0.8729 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0003004/1.316, allocations: 69.7 kB / 0.873 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001991/1.318, allocations: 2.394 MB / 0.8753 GB, free: 9.246 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009001/1.319, allocations: 0.745 MB / 0.8761 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00112/1.32, allocations: 480.6 kB / 0.8765 GB, free: 8.039 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.00011/1.32, allocations: 305.1 kB / 0.8768 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002283/1.322, allocations: 1.368 MB / 0.8781 GB, free: 6.367 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002878/1.325, allocations: 2.108 MB / 0.8802 GB, free: 3.953 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005341/1.33, allocations: 3.766 MB / 0.8839 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.35e-05/1.33, allocations: 8 kB / 0.8839 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.009851/1.34, allocations: 5.064 MB / 0.8888 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.45e-05/1.34, allocations: 18.97 kB / 0.8889 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.22e-05/1.34, allocations: 24 kB / 0.8889 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003973/1.344, allocations: 1.582 MB / 0.8904 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001816/1.346, allocations: 456.6 kB / 0.8909 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02388/1.37, allocations: 17.05 MB / 0.9075 GB, free: 7.484 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003134/1.373, allocations: 143.9 kB / 0.9076 GB, free: 7.344 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000739/1.374, allocations: 108 kB / 0.9078 GB, free: 7.238 MB / 0.6232 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.005225/1.379, allocations: 1.943 MB / 0.9096 GB, free: 5.316 MB / 0.6232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001097/1.38, allocations: 293.9 kB / 0.9099 GB, free: 5.027 MB / 0.6232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009094/1.39, allocations: 4.457 MB / 0.9143 GB, free: 0.5977 MB / 0.6232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.686e-05/1.39, allocations: 27.84 kB / 0.9143 GB, free: 0.5742 MB / 0.6232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-05/1.39, allocations: 16 kB / 0.9143 GB, free: 0.5586 MB / 0.6232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.859e-05/1.39, allocations: 7.969 kB / 0.9143 GB, free: 0.5508 MB / 0.6232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02283/1.413, allocations: 9.661 MB / 0.9238 GB, free: 6.871 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-05/1.413, allocations: 8 kB / 0.9238 GB, free: 6.863 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00099/1.414, allocations: 231.8 kB / 0.924 GB, free: 6.648 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003676/1.417, allocations: 1.44 MB / 0.9254 GB, free: 5.203 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001614/1.417, allocations: 40 kB / 0.9254 GB, free: 5.164 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02301/1.44, allocations: 17.07 MB / 0.9421 GB, free: 3.605 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/1.441, allocations: 7.469 kB / 0.9421 GB, free: 3.602 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008006/1.449, allocations: 4.538 MB / 0.9465 GB, free: 15.04 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001781/1.45, allocations: 0.6343 MB / 0.9472 GB, free: 14.39 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003599/1.451, allocations: 40 kB / 0.9472 GB, free: 14.35 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001203/1.452, allocations: 111.9 kB / 0.9473 GB, free: 14.24 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005775/1.453, allocations: 186.4 kB / 0.9475 GB, free: 14.06 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001422/1.453, allocations: 56.25 kB / 0.9475 GB, free: 14 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001976/1.455, allocations: 1.323 MB / 0.9488 GB, free: 12.67 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.21e-07/1.455, allocations: 3.375 kB / 0.9488 GB, free: 12.67 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003911/1.459, allocations: 1.141 MB / 0.9499 GB, free: 11.53 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.0003647/1.459, allocations: 162.2 kB / 0.9501 GB, free: 11.38 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.007482/1.466, allocations: 4.696 MB / 0.9547 GB, free: 6.711 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 8.817e-06/1.466, allocations: 4 kB / 0.9547 GB, free: 6.707 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.004592/1.471, allocations: 2.919 MB / 0.9575 GB, free: 3.777 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004089/1.475, allocations: 0.8251 MB / 0.9584 GB, free: 2.961 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02097/1.496, allocations: 12.52 MB / 0.9706 GB, free: 6.367 MB / 0.6857 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004967/1.501, allocations: 3.784 MB / 0.9743 GB, free: 2.551 MB / 0.6857 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001145/1.502, allocations: 166 kB / 0.9744 GB, free: 2.391 MB / 0.6857 GB Notification: Performance of SimCode: time 2.274e-06/1.502, allocations: 0 / 0.9744 GB, free: 2.391 MB / 0.6857 GB Notification: Performance of Templates: time 0.5761/2.078, allocations: 171.8 MB / 1.142 GB, free: 213 MB / 0.7638 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