Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_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.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009007/0.0009008, allocations: 102.4 kB / 15.71 MB, free: 460 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.001105/0.001105, allocations: 174.5 kB / 16.58 MB, free: 6.398 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.808/1.808, allocations: 205.4 MB / 222.7 MB, free: 5.645 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.855/1.855, allocations: 292.7 MB / 0.5505 GB, free: 14.54 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.000533/0.000533, allocations: 16.72 kB / 0.6744 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3128, allocations: 116.3 MB / 0.7879 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.01402/0.3269, allocations: 10.78 MB / 0.7985 GB, free: 1.125 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009646/0.3366, allocations: 5.22 MB / 0.8036 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001304/0.338, allocations: 31.88 kB / 0.8036 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0011/0.3391, allocations: 302 kB / 0.8039 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001808/0.3409, allocations: 0.525 MB / 0.8044 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002081/0.343, allocations: 494.8 kB / 0.8049 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005215/0.3482, allocations: 2.926 MB / 0.8077 GB, free: 7.621 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00828/0.3565, allocations: 3.873 MB / 0.8115 GB, free: 3.688 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002317/0.3589, allocations: 0.7824 MB / 0.8123 GB, free: 2.902 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002785/0.3617, allocations: 1.09 MB / 0.8133 GB, free: 1.809 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003871/0.3621, allocations: 100 kB / 0.8134 GB, free: 1.711 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001522/0.3637, allocations: 315.7 kB / 0.8137 GB, free: 1.402 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001227/0.3649, allocations: 0.7444 MB / 0.8145 GB, free: 0.6562 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007553/0.3657, allocations: 360.9 kB / 0.8148 GB, free: 304 kB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.005366/0.3711, allocations: 3.281 MB / 0.818 GB, free: 13.01 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 1.395e-05/0.3711, allocations: 4 kB / 0.818 GB, free: 13 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.988e-06/0.3712, allocations: 0 / 0.818 GB, free: 13 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001207/0.3713, allocations: 4 kB / 0.818 GB, free: 13 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.006653/0.3779, allocations: 1.769 MB / 0.8197 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 7.116e-05/0.378, allocations: 12.03 kB / 0.8197 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003887/0.3819, allocations: 0.747 MB / 0.8205 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004181/0.3862, allocations: 1.231 MB / 0.8217 GB, free: 9.137 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001536/0.3863, allocations: 123.1 kB / 0.8218 GB, free: 9.016 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005948/0.3869, allocations: 163.9 kB / 0.822 GB, free: 8.855 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008071/0.395, allocations: 2.936 MB / 0.8248 GB, free: 5.855 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.078e-05/0.3952, allocations: 4 kB / 0.8248 GB, free: 5.852 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002816/0.3955, allocations: 71.98 kB / 0.8249 GB, free: 5.781 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006463/0.3961, allocations: 206.9 kB / 0.8251 GB, free: 5.578 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006626/0.4028, allocations: 2.499 MB / 0.8275 GB, free: 3.074 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02478/0.4276, allocations: 10.92 MB / 0.8382 GB, free: 7.262 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001612/0.4292, allocations: 0.9157 MB / 0.8391 GB, free: 6.301 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000882/0.4302, allocations: 0.5051 MB / 0.8396 GB, free: 5.793 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000188/0.4304, allocations: 97.45 kB / 0.8397 GB, free: 5.68 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.089e-05/0.4304, allocations: 34.94 kB / 0.8397 GB, free: 5.637 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=46): time 4.157e-06/0.4305, allocations: 4 kB / 0.8397 GB, free: 5.633 MB / 0.6544 GB Notification: Performance of matching and sorting (n=70): time 0.02794/0.4584, allocations: 8.979 MB / 0.8485 GB, free: 12.58 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.4586, allocations: 85.67 kB / 0.8486 GB, free: 12.48 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002022/0.4606, allocations: 0.9376 MB / 0.8495 GB, free: 11.53 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001721/0.4608, allocations: 41.64 kB / 0.8495 GB, free: 11.48 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007718/0.4616, allocations: 0.7736 MB / 0.8503 GB, free: 10.7 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003596/0.462, allocations: 248.5 kB / 0.8505 GB, free: 10.45 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.4621, allocations: 20 kB / 0.8505 GB, free: 10.43 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002493/0.4624, allocations: 398.8 kB / 0.8509 GB, free: 10.03 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001405/0.4638, allocations: 0.7989 MB / 0.8517 GB, free: 9.23 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001627/0.4654, allocations: 1.156 MB / 0.8528 GB, free: 7.918 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00174/0.4672, allocations: 0.9946 MB / 0.8538 GB, free: 6.922 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.949e-05/0.4672, allocations: 4 kB / 0.8538 GB, free: 6.918 MB / 0.67 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.009832/0.477, allocations: 3.783 MB / 0.8575 GB, free: 3.117 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004126/0.4775, allocations: 421.2 kB / 0.8579 GB, free: 2.555 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.718e-05/0.4776, allocations: 12 kB / 0.8579 GB, free: 2.543 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007855/0.4854, allocations: 2.157 MB / 0.86 GB, free: 388 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009966/0.4865, allocations: 227.6 kB / 0.8602 GB, free: 160 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01692/0.5034, allocations: 10.26 MB / 0.8702 GB, free: 5.641 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001768/0.5053, allocations: 203.6 kB / 0.8704 GB, free: 5.441 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002585/0.5055, allocations: 47.98 kB / 0.8705 GB, free: 5.395 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.5056, allocations: 4 kB / 0.8705 GB, free: 5.391 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007879/0.5135, allocations: 3.083 MB / 0.8735 GB, free: 2.301 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-05/0.5136, allocations: 8 kB / 0.8735 GB, free: 2.293 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005065/0.5186, allocations: 1.351 MB / 0.8748 GB, free: 0.9375 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001249/0.5199, allocations: 295.5 kB / 0.8751 GB, free: 0.6484 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01066/0.5306, allocations: 6.155 MB / 0.8811 GB, free: 10.36 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001517/0.5322, allocations: 171.7 kB / 0.8813 GB, free: 10.19 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002363/0.5325, allocations: 44 kB / 0.8813 GB, free: 10.14 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (97): * Single equations (assignments): 95 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.001875/0.5344, allocations: 0.907 MB / 0.8822 GB, free: 9.227 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002929/0.5347, allocations: 86.97 kB / 0.8823 GB, free: 9.141 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008741/0.5434, allocations: 3.316 MB / 0.8855 GB, free: 5.801 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.604e-05/0.5435, allocations: 12 kB / 0.8855 GB, free: 5.789 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.742e-05/0.5435, allocations: 7.953 kB / 0.8855 GB, free: 5.781 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.806e-05/0.5435, allocations: 3.984 kB / 0.8856 GB, free: 5.777 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01271/0.5562, allocations: 5.493 MB / 0.8909 GB, free: 172 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.852e-05/0.5563, allocations: 4 kB / 0.8909 GB, free: 168 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004884/0.5568, allocations: 107.8 kB / 0.891 GB, free: 60 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006955/0.5638, allocations: 1.979 MB / 0.893 GB, free: 14.07 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001305/0.564, allocations: 12 kB / 0.893 GB, free: 14.06 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01448/0.5784, allocations: 9.669 MB / 0.9024 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.281e-05/0.5785, allocations: 4 kB / 0.9024 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008221/0.5868, allocations: 3.206 MB / 0.9055 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008352/0.5876, allocations: 343.9 kB / 0.9059 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000313/0.588, allocations: 12 kB / 0.9059 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001033/0.589, allocations: 151.8 kB / 0.906 GB, free: 360 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00033/0.5894, allocations: 68.41 kB / 0.9061 GB, free: 292 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.409e-05/0.5894, allocations: 20 kB / 0.9061 GB, free: 272 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001243/0.5907, allocations: 0.6707 MB / 0.9068 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5907, allocations: 0 / 0.9068 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003077/0.5938, allocations: 0.7031 MB / 0.9075 GB, free: 14.9 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (42): * Single equations (assignments): 40 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003359/0.5941, allocations: 135.1 kB / 0.9076 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.007839/0.602, allocations: 3.901 MB / 0.9114 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.868e-06/0.602, allocations: 7.938 kB / 0.9114 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002206/0.6043, allocations: 1.317 MB / 0.9127 GB, free: 9.473 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001695/0.606, allocations: 265.8 kB / 0.9129 GB, free: 9.215 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008317/0.6143, allocations: 4.281 MB / 0.9171 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002471/0.6169, allocations: 1.734 MB / 0.9188 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003939/0.6173, allocations: 71.36 kB / 0.9189 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of SimCode: time 1.002e-06/0.6173, allocations: 4 kB / 0.9189 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of Templates: time 0.6108/1.228, allocations: 43.01 MB / 0.9609 GB, free: 111.3 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.makefile make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_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_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_NCalcHelperMain.o OMCppBuildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_NCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_NCalcHelperMain.o] Error 1