Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001026/0.001026, allocations: 92.16 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.001851/0.001851, allocations: 173 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.973/1.973, allocations: 205.4 MB / 223.1 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.929/1.929, allocations: 292.7 MB / 0.5509 GB, free: 14.43 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005515/0.0005513, allocations: 20.25 kB / 0.675 GB, free: 25.71 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3015, allocations: 116.3 MB / 0.7886 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04274/0.3443, allocations: 36.59 MB / 0.8243 GB, free: 6.859 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02348/0.3679, allocations: 10.96 MB / 0.835 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005489/0.3735, allocations: 135.2 kB / 0.8351 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003617/0.3771, allocations: 0.783 MB / 0.8359 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.008929/0.3861, allocations: 2.092 MB / 0.8379 GB, free: 8.848 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.006344/0.3925, allocations: 1.79 MB / 0.8397 GB, free: 7.059 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01865/0.4111, allocations: 13.17 MB / 0.8525 GB, free: 9.852 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02696/0.4381, allocations: 14.45 MB / 0.8666 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008444/0.4467, allocations: 2.836 MB / 0.8694 GB, free: 8.457 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009391/0.4561, allocations: 3.877 MB / 0.8732 GB, free: 4.566 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.002575/0.4588, allocations: 348 kB / 0.8735 GB, free: 4.227 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005848/0.4646, allocations: 1.326 MB / 0.8748 GB, free: 2.898 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.005963/0.4706, allocations: 2.529 MB / 0.8773 GB, free: 372 kB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.009294/0.48, allocations: 2.956 MB / 0.8802 GB, free: 13.38 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01766/0.4977, allocations: 10.22 MB / 0.8902 GB, free: 3.137 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 1.235e-05/0.4978, allocations: 0 / 0.8902 GB, free: 3.137 MB / 0.7012 GB Notification: Performance of FrontEnd: time 5.831e-06/0.4978, allocations: 0 / 0.8902 GB, free: 3.137 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.000676/0.4985, allocations: 0 / 0.8902 GB, free: 3.137 MB / 0.7012 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.02163/0.5201, allocations: 5.09 MB / 0.8951 GB, free: 13.98 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 8.824e-05/0.5203, allocations: 8.031 kB / 0.8951 GB, free: 13.97 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009073/0.5294, allocations: 1.067 MB / 0.8962 GB, free: 12.89 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01212/0.5415, allocations: 3.427 MB / 0.8995 GB, free: 9.414 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007125/0.5423, allocations: 419.8 kB / 0.8999 GB, free: 9.004 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003168/0.5455, allocations: 0.5432 MB / 0.9005 GB, free: 8.461 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.8359/1.381, allocations: 9.378 MB / 0.9096 GB, free: 104 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000238/1.382, allocations: 17.06 kB / 0.9096 GB, free: 104 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001536/1.383, allocations: 246 kB / 0.9099 GB, free: 104 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001124/1.384, allocations: 426.8 kB / 0.9103 GB, free: 104 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02012/1.405, allocations: 7.123 MB / 0.9172 GB, free: 102.4 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05389/1.459, allocations: 41.37 MB / 0.9576 GB, free: 67.39 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005793/1.464, allocations: 3.107 MB / 0.9607 GB, free: 65.77 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003624/1.468, allocations: 2.119 MB / 0.9627 GB, free: 64.68 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001061/1.468, allocations: 21.25 kB / 0.9628 GB, free: 64.68 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.778e-05/1.468, allocations: 71.44 kB / 0.9628 GB, free: 64.61 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=209): time 5.079e-06/1.468, allocations: 0 / 0.9628 GB, free: 64.61 MB / 0.7169 GB Notification: Performance of matching and sorting (n=212): time 0.02663/1.495, allocations: 10.61 MB / 0.9732 GB, free: 58.61 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.204e-05/1.495, allocations: 73.03 kB / 0.9733 GB, free: 58.54 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003238/1.498, allocations: 2.005 MB / 0.9752 GB, free: 57.45 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002476/1.499, allocations: 65.45 kB / 0.9753 GB, free: 57.39 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0015/1.5, allocations: 2.399 MB / 0.9776 GB, free: 55.29 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006906/1.501, allocations: 0.7405 MB / 0.9783 GB, free: 54.65 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003038/1.501, allocations: 210.2 kB / 0.9785 GB, free: 54.52 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.384e-05/1.501, allocations: 306 kB / 0.9788 GB, free: 54.22 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002024/1.503, allocations: 1.374 MB / 0.9802 GB, free: 53.5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002117/1.505, allocations: 2.102 MB / 0.9822 GB, free: 51.85 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004157/1.51, allocations: 3.764 MB / 0.9859 GB, free: 49.28 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.306e-05/1.51, allocations: 7.5 kB / 0.9859 GB, free: 49.28 MB / 0.7169 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.007794/1.517, allocations: 5.072 MB / 0.9909 GB, free: 45.34 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.394e-05/1.517, allocations: 16 kB / 0.9909 GB, free: 45.33 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.09e-05/1.518, allocations: 24.16 kB / 0.9909 GB, free: 45.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003444/1.521, allocations: 1.575 MB / 0.9924 GB, free: 43.72 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001849/1.523, allocations: 457.6 kB / 0.9929 GB, free: 43.28 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01952/1.542, allocations: 17.12 MB / 1.01 GB, free: 25.63 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00335/1.546, allocations: 151.8 kB / 1.01 GB, free: 25.48 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002629/1.546, allocations: 108 kB / 1.01 GB, free: 25.38 MB / 0.7169 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.004732/1.551, allocations: 1.937 MB / 1.012 GB, free: 23.43 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008294/1.552, allocations: 292.8 kB / 1.012 GB, free: 23.14 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007664/1.559, allocations: 4.454 MB / 1.016 GB, free: 18.65 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.049e-05/1.559, allocations: 24 kB / 1.016 GB, free: 18.63 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.408e-05/1.559, allocations: 16 kB / 1.016 GB, free: 18.61 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-05/1.559, allocations: 11.95 kB / 1.016 GB, free: 18.6 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01651/1.576, allocations: 9.673 MB / 1.026 GB, free: 8.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.259e-05/1.576, allocations: 8.094 kB / 1.026 GB, free: 8.82 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009724/1.577, allocations: 232.9 kB / 1.026 GB, free: 8.594 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003115/1.58, allocations: 1.426 MB / 1.027 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001395/1.58, allocations: 36 kB / 1.028 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02302/1.603, allocations: 17.1 MB / 1.044 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.497e-05/1.603, allocations: 12.09 kB / 1.044 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01001/1.613, allocations: 4.533 MB / 1.049 GB, free: 0.8594 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002657/1.616, allocations: 0.6342 MB / 1.049 GB, free: 208 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000613/1.617, allocations: 40 kB / 1.049 GB, free: 168 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001568/1.618, allocations: 119.8 kB / 1.049 GB, free: 48 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008062/1.619, allocations: 181.6 kB / 1.05 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001559/1.619, allocations: 60 kB / 1.05 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002825/1.622, allocations: 1.322 MB / 1.051 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/1.622, allocations: 0 / 1.051 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.005558/1.628, allocations: 1.141 MB / 1.052 GB, free: 13.34 MB / 0.7481 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.0005475/1.628, allocations: 163 kB / 1.052 GB, free: 13.17 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01014/1.639, allocations: 4.705 MB / 1.057 GB, free: 8.422 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.97e-05/1.639, allocations: 4.312 kB / 1.057 GB, free: 8.418 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.006449/1.645, allocations: 2.922 MB / 1.06 GB, free: 5.441 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008958/1.654, allocations: 0.8256 MB / 1.06 GB, free: 4.621 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03109/1.685, allocations: 12.54 MB / 1.073 GB, free: 7.984 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005545/1.691, allocations: 3.787 MB / 1.076 GB, free: 4.168 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009323/1.692, allocations: 167.4 kB / 1.077 GB, free: 4.004 MB / 0.7637 GB Notification: Performance of SimCode: time 1.533e-06/1.692, allocations: 0 / 1.077 GB, free: 4.004 MB / 0.7637 GB Notification: Performance of Templates: time 0.248/1.94, allocations: 171.2 MB / 1.244 GB, free: 8.938 MB / 0.9356 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile make -j1 -f Buildings_8_Buildings.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 OMCppBuildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_NCalcHelperMain.o OMCppBuildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_NCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_NCalcHelperMain.o] Error 1