Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001015, 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.00134/0.00134, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.407/1.407, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001842/0.001842, allocations: 258 kB / 292.3 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9802/0.9802, allocations: 169.5 MB / 0.501 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004606/0.0004606, allocations: 14.91 kB / 0.5993 GB, free: 28.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2166, allocations: 88.54 MB / 0.6858 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.008927/0.2256, allocations: 6.368 MB / 0.692 GB, free: 8.711 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006504/0.2322, allocations: 3.043 MB / 0.695 GB, free: 5.672 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008983/0.2331, allocations: 19.88 kB / 0.695 GB, free: 5.652 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006605/0.2338, allocations: 134.9 kB / 0.6951 GB, free: 5.52 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001746/0.2355, allocations: 477.9 kB / 0.6956 GB, free: 5.055 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001369/0.2369, allocations: 405 kB / 0.696 GB, free: 4.664 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002186/0.2391, allocations: 1.592 MB / 0.6975 GB, free: 3.07 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002109/0.2413, allocations: 1.016 MB / 0.6985 GB, free: 2.031 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009186/0.2422, allocations: 394.3 kB / 0.6989 GB, free: 1.645 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000974/0.2432, allocations: 0.4941 MB / 0.6994 GB, free: 1.148 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001822/0.2434, allocations: 36 kB / 0.6994 GB, free: 1.113 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001115/0.2445, allocations: 439.1 kB / 0.6998 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004316/0.245, allocations: 275.1 kB / 0.7001 GB, free: 424 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007618/0.2457, allocations: 423.6 kB / 0.7005 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001341/0.2471, allocations: 0.9193 MB / 0.7014 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.2471, allocations: 0 / 0.7014 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.094e-06/0.2471, allocations: 0 / 0.7014 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.972e-05/0.2472, allocations: 0 / 0.7014 GB, free: 15.07 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002153/0.2493, allocations: 1.011 MB / 0.7024 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.2494, allocations: 11.97 kB / 0.7024 GB, free: 14 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001636/0.251, allocations: 243.5 kB / 0.7026 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009264/0.252, allocations: 0.5531 MB / 0.7032 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.944e-05/0.252, allocations: 49.67 kB / 0.7032 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/0.2521, allocations: 60.38 kB / 0.7033 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001517/0.2537, allocations: 1.089 MB / 0.7043 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.841e-05/0.2537, allocations: 8 kB / 0.7043 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.378e-05/0.2538, allocations: 31.94 kB / 0.7044 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001463/0.2539, allocations: 85.25 kB / 0.7044 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001155/0.2551, allocations: 0.7504 MB / 0.7052 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005458/0.2606, allocations: 5.905 MB / 0.7109 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009714/0.2615, allocations: 0.5477 MB / 0.7115 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000439/0.262, allocations: 330 kB / 0.7118 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.444e-05/0.262, allocations: 4.438 kB / 0.7118 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.105e-05/0.2621, allocations: 43 kB / 0.7118 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=47): time 2.304e-06/0.2621, allocations: 0 / 0.7118 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of matching and sorting (n=48): time 0.003854/0.266, allocations: 2.002 MB / 0.7138 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/0.266, allocations: 55.84 kB / 0.7138 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007149/0.2667, allocations: 0.5548 MB / 0.7144 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.486e-05/0.2668, allocations: 41.64 kB / 0.7144 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003119/0.2671, allocations: 418.9 kB / 0.7148 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001458/0.2673, allocations: 173.6 kB / 0.715 GB, free: 368 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.2674, allocations: 65.62 kB / 0.7151 GB, free: 296 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001983/0.2676, allocations: 378.7 kB / 0.7154 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000441/0.268, allocations: 273.8 kB / 0.7157 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005749/0.2686, allocations: 493 kB / 0.7161 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001086/0.2697, allocations: 0.8093 MB / 0.7169 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.2697, allocations: 4 kB / 0.7169 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001933/0.2717, allocations: 1.086 MB / 0.718 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.675e-05/0.2717, allocations: 13.7 kB / 0.718 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/0.2717, allocations: 8 kB / 0.718 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008415/0.2726, allocations: 280 kB / 0.7183 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004633/0.273, allocations: 131.7 kB / 0.7184 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0065/0.2796, allocations: 6.599 MB / 0.7249 GB, free: 5.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005579/0.2801, allocations: 43.95 kB / 0.7249 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.414e-05/0.2802, allocations: 28 kB / 0.7249 GB, free: 5.41 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003674/0.2806, allocations: 250.8 kB / 0.7252 GB, free: 5.156 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/0.2807, allocations: 75.31 kB / 0.7252 GB, free: 5.082 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001604/0.2823, allocations: 0.8885 MB / 0.7261 GB, free: 4.168 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.2823, allocations: 7.938 kB / 0.7261 GB, free: 4.16 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/0.2823, allocations: 4 kB / 0.7261 GB, free: 4.156 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.2824, allocations: 3.984 kB / 0.7261 GB, free: 4.152 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00266/0.285, allocations: 1.724 MB / 0.7278 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.285, allocations: 3.938 kB / 0.7278 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002497/0.2853, allocations: 63.89 kB / 0.7279 GB, free: 2.273 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007196/0.286, allocations: 267.4 kB / 0.7281 GB, free: 2 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.802e-05/0.2861, allocations: 12 kB / 0.7281 GB, free: 1.988 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006295/0.2924, allocations: 6.583 MB / 0.7346 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.2924, allocations: 0 / 0.7346 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001555/0.294, allocations: 0.9874 MB / 0.7355 GB, free: 9.836 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002772/0.2942, allocations: 200.1 kB / 0.7357 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.658e-05/0.2944, allocations: 16.12 kB / 0.7357 GB, free: 9.605 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000374/0.2947, allocations: 31.97 kB / 0.7358 GB, free: 9.574 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.2948, allocations: 39.94 kB / 0.7358 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.143e-05/0.2949, allocations: 20 kB / 0.7358 GB, free: 9.516 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004429/0.2953, allocations: 387.1 kB / 0.7362 GB, free: 9.145 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2953, allocations: 0 / 0.7362 GB, free: 9.145 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008289/0.2962, allocations: 224 kB / 0.7364 GB, free: 8.926 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001713/0.2964, allocations: 124 kB / 0.7365 GB, free: 8.793 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001938/0.2983, allocations: 1.271 MB / 0.7378 GB, free: 7.473 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.2983, allocations: 0 / 0.7378 GB, free: 7.473 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00122/0.2995, allocations: 0.8932 MB / 0.7386 GB, free: 6.527 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/0.3007, allocations: 215 kB / 0.7388 GB, free: 6.316 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002567/0.3033, allocations: 1.737 MB / 0.7405 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000716/0.304, allocations: 1.009 MB / 0.7415 GB, free: 3.5 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001569/0.3042, allocations: 43.44 kB / 0.7416 GB, free: 3.457 MB / 0.5294 GB Notification: Performance of SimCode: time 6.11e-07/0.3042, allocations: 0 / 0.7416 GB, free: 3.457 MB / 0.5294 GB Notification: Performance of Templates: time 0.02747/0.3317, allocations: 20.75 MB / 0.7618 GB, free: 14.75 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.ThreePhasesBalanced.Lines.Examples.ACLine_RCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RCalcHelperMain.o] Error 1