Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_9_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.0009607/0.0009609, allocations: 102.4 kB / 15.71 MB, free: 440 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.00142/0.001421, allocations: 174.4 kB / 16.58 MB, free: 6.418 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.583/1.583, allocations: 223.2 MB / 240.6 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.507/2.507, allocations: 390.4 MB / 0.6662 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004594/0.0004594, allocations: 11.98 kB / 0.8154 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9537/0.9541, allocations: 142.3 MB / 0.9544 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04193/0.9961, allocations: 34.62 MB / 0.9882 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02182/1.018, allocations: 10.5 MB / 0.9985 GB, free: 2.914 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005383/1.023, allocations: 135.2 kB / 0.9986 GB, free: 2.781 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.003762/1.027, allocations: 0.7596 MB / 0.9994 GB, free: 2.016 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.007709/1.035, allocations: 1.787 MB / 1.001 GB, free: 224 kB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.005326/1.04, allocations: 1.286 MB / 1.002 GB, free: 14.93 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01521/1.056, allocations: 10.35 MB / 1.012 GB, free: 4.551 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0245/1.08, allocations: 12.68 MB / 1.025 GB, free: 7.801 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007668/1.088, allocations: 2.864 MB / 1.028 GB, free: 4.926 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008449/1.096, allocations: 3.769 MB / 1.031 GB, free: 1.145 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.002057/1.098, allocations: 348 kB / 1.032 GB, free: 0.8047 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004173/1.103, allocations: 0.7025 MB / 1.032 GB, free: 104 kB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.004729/1.107, allocations: 2.514 MB / 1.035 GB, free: 13.58 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.003338/1.111, allocations: 1.202 MB / 1.036 GB, free: 12.37 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01332/1.124, allocations: 10.18 MB / 1.046 GB, free: 2.164 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/1.124, allocations: 0 / 1.046 GB, free: 2.164 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.455e-06/1.124, allocations: 4 kB / 1.046 GB, free: 2.16 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0004337/1.125, allocations: 0 / 1.046 GB, free: 2.16 MB / 0.795 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.01392/1.138, allocations: 5.149 MB / 1.051 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/1.139, allocations: 8.031 kB / 1.051 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006454/1.145, allocations: 1.07 MB / 1.052 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006893/1.152, allocations: 3.338 MB / 1.055 GB, free: 8.461 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003446/1.152, allocations: 427.4 kB / 1.056 GB, free: 8.043 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001879/1.154, allocations: 0.5428 MB / 1.056 GB, free: 7.5 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02054/1.175, allocations: 9.33 MB / 1.065 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001468/1.175, allocations: 19.81 kB / 1.065 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008417/1.176, allocations: 255.7 kB / 1.066 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005581/1.176, allocations: 422.9 kB / 1.066 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01664/1.193, allocations: 7.08 MB / 1.073 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04785/1.241, allocations: 41.36 MB / 1.113 GB, free: 8.969 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004655/1.246, allocations: 3.092 MB / 1.116 GB, free: 5.871 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002855/1.248, allocations: 2.13 MB / 1.118 GB, free: 3.738 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001278/1.249, allocations: 22 kB / 1.118 GB, free: 3.715 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.316e-05/1.249, allocations: 60.56 kB / 1.118 GB, free: 3.648 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=209): time 3.717e-06/1.249, allocations: 4 kB / 1.118 GB, free: 3.645 MB / 0.8731 GB Notification: Performance of matching and sorting (n=212): time 0.02334/1.272, allocations: 10.45 MB / 1.129 GB, free: 9.094 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/1.272, allocations: 77.36 kB / 1.129 GB, free: 9.004 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002883/1.275, allocations: 1.986 MB / 1.131 GB, free: 7 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0003151/1.275, allocations: 61.7 kB / 1.131 GB, free: 6.934 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001674/1.277, allocations: 2.408 MB / 1.133 GB, free: 4.492 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007914/1.278, allocations: 0.7278 MB / 1.134 GB, free: 3.754 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001502/1.278, allocations: 56 kB / 1.134 GB, free: 3.699 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002094/1.278, allocations: 407.4 kB / 1.134 GB, free: 3.297 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002059/1.28, allocations: 1.368 MB / 1.136 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002502/1.283, allocations: 2.096 MB / 1.138 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002486/1.285, allocations: 1.72 MB / 1.139 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.527e-05/1.285, allocations: 8 kB / 1.139 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008311/1.294, allocations: 5.034 MB / 1.144 GB, free: 8.727 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.072e-05/1.294, allocations: 17 kB / 1.144 GB, free: 8.711 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.877e-05/1.294, allocations: 20 kB / 1.144 GB, free: 8.691 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003459/1.297, allocations: 1.561 MB / 1.146 GB, free: 7.121 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001817/1.299, allocations: 459.2 kB / 1.146 GB, free: 6.672 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02164/1.321, allocations: 17.06 MB / 1.163 GB, free: 5.074 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002736/1.323, allocations: 147.9 kB / 1.163 GB, free: 4.93 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003529/1.324, allocations: 108 kB / 1.163 GB, free: 4.824 MB / 0.92 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,69.4%) 32,(6,66.7%) 24,(4,100.0%) 18,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004126/1.328, allocations: 1.944 MB / 1.165 GB, free: 2.871 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006855/1.329, allocations: 292.6 kB / 1.165 GB, free: 2.582 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007883/1.337, allocations: 4.432 MB / 1.17 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.731e-05/1.337, allocations: 20 kB / 1.17 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.088e-05/1.337, allocations: 16 kB / 1.17 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.205e-05/1.337, allocations: 15.95 kB / 1.17 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01712/1.354, allocations: 9.645 MB / 1.179 GB, free: 4.277 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.254e-05/1.354, allocations: 11.98 kB / 1.179 GB, free: 4.266 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009516/1.355, allocations: 228.2 kB / 1.179 GB, free: 4.043 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003181/1.358, allocations: 1.423 MB / 1.181 GB, free: 2.609 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001563/1.358, allocations: 40 kB / 1.181 GB, free: 2.57 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02287/1.381, allocations: 17.09 MB / 1.197 GB, free: 0.9492 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/1.381, allocations: 12 kB / 1.197 GB, free: 0.9375 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008093/1.389, allocations: 4.51 MB / 1.202 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001645/1.391, allocations: 0.6381 MB / 1.202 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003817/1.391, allocations: 43.94 kB / 1.203 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/1.392, allocations: 119.9 kB / 1.203 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005363/1.393, allocations: 185.6 kB / 1.203 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001323/1.393, allocations: 56 kB / 1.203 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001911/1.395, allocations: 1.299 MB / 1.204 GB, free: 9.969 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/1.395, allocations: 0 / 1.204 GB, free: 9.969 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.003815/1.399, allocations: 1.137 MB / 1.205 GB, free: 8.832 MB / 0.9669 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,100.0%) 18,(6,66.7%) 24,(4,100.0%) 18,(6,66.7%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003411/1.399, allocations: 167 kB / 1.205 GB, free: 8.66 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.007848/1.407, allocations: 4.676 MB / 1.21 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 9.648e-06/1.407, allocations: 0 / 1.21 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.005021/1.412, allocations: 2.918 MB / 1.213 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004239/1.416, allocations: 0.8301 MB / 1.214 GB, free: 140 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02084/1.437, allocations: 12 MB / 1.225 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004816/1.442, allocations: 3.792 MB / 1.229 GB, free: 220 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000831/1.443, allocations: 167.4 kB / 1.229 GB, free: 56 kB / 0.9825 GB Notification: Performance of SimCode: time 1.293e-06/1.443, allocations: 0 / 1.229 GB, free: 56 kB / 0.9825 GB Notification: Performance of Templates: time 0.8363/2.279, allocations: 171.4 MB / 1.397 GB, free: 158 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_NCalcHelperMain.o OMCppBuildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_NCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_NCalcHelperMain.o] Error 1