Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.v.1.|load.v.2.|E.terminal.v.1.|E.terminal.v.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.v.1.|load.v.2.|E.terminal.v.1.|E.terminal.v.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008397/0.0008398, allocations: 97.02 kB / 15.71 MB, free: 452 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.0009627/0.0009628, allocations: 180.8 kB / 16.58 MB, free: 6.422 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.446/1.446, allocations: 223.2 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.857/2.857, allocations: 436.7 MB / 0.7113 GB, free: 7.754 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004846/0.0004848, allocations: 8.219 kB / 0.8717 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7977/0.7982, allocations: 153.7 MB / 1.022 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.005136/0.8034, allocations: 4.525 MB / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004216/0.8076, allocations: 3.088 MB / 1.029 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002351/0.8079, allocations: 8 kB / 1.029 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000513/0.8084, allocations: 147.1 kB / 1.029 GB, free: 9.312 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0007668/0.8092, allocations: 314.5 kB / 1.03 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005039/0.8097, allocations: 187.6 kB / 1.03 GB, free: 8.82 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0007781/0.8105, allocations: 0.7009 MB / 1.03 GB, free: 8.117 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001155/0.8117, allocations: 0.7353 MB / 1.031 GB, free: 7.352 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000303/0.812, allocations: 199.2 kB / 1.031 GB, free: 7.156 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000365/0.8123, allocations: 259 kB / 1.032 GB, free: 6.902 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.79e-05/0.8124, allocations: 27.98 kB / 1.032 GB, free: 6.875 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005879/0.813, allocations: 231.7 kB / 1.032 GB, free: 6.648 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001466/0.8132, allocations: 139.6 kB / 1.032 GB, free: 6.512 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.814e-05/0.8133, allocations: 101.5 kB / 1.032 GB, free: 6.406 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006928/0.814, allocations: 0.711 MB / 1.033 GB, free: 5.695 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.814, allocations: 0 / 1.033 GB, free: 5.695 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.573e-06/0.814, allocations: 0 / 1.033 GB, free: 5.695 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.814, allocations: 0 / 1.033 GB, free: 5.695 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001262/0.8153, allocations: 0.7519 MB / 1.034 GB, free: 4.895 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.8153, allocations: 11.98 kB / 1.034 GB, free: 4.883 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002684/0.818, allocations: 0.7014 MB / 1.034 GB, free: 4.18 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007276/0.8187, allocations: 482.7 kB / 1.035 GB, free: 3.668 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/0.8188, allocations: 28.58 kB / 1.035 GB, free: 3.641 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.564e-05/0.8189, allocations: 35.91 kB / 1.035 GB, free: 3.605 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001573/0.8204, allocations: 0.8395 MB / 1.036 GB, free: 2.734 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/0.8205, allocations: 4 kB / 1.036 GB, free: 2.73 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.375e-05/0.8205, allocations: 12 kB / 1.036 GB, free: 2.719 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001985/0.8207, allocations: 72.56 kB / 1.036 GB, free: 2.648 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001971/0.8227, allocations: 0.9389 MB / 1.037 GB, free: 1.707 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004031/0.8267, allocations: 2.922 MB / 1.039 GB, free: 14.57 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001463/0.8282, allocations: 0.5689 MB / 1.04 GB, free: 14 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006797/0.8289, allocations: 309 kB / 1.04 GB, free: 13.69 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001096/0.829, allocations: 93.22 kB / 1.04 GB, free: 13.58 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.8291, allocations: 38.75 kB / 1.04 GB, free: 13.54 MB / 0.795 GB Notification: Performance of pre-optimization done (n=22): time 1.943e-06/0.8291, allocations: 0 / 1.04 GB, free: 13.54 MB / 0.795 GB Notification: Performance of matching and sorting (n=32): time 0.01157/0.8407, allocations: 3.653 MB / 1.044 GB, free: 9.828 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.8407, allocations: 81.11 kB / 1.044 GB, free: 9.73 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004748/0.8412, allocations: 412.5 kB / 1.044 GB, free: 9.32 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.553e-05/0.8413, allocations: 29.7 kB / 1.044 GB, free: 9.285 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.8414, allocations: 235.8 kB / 1.045 GB, free: 9.051 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.8416, allocations: 110.5 kB / 1.045 GB, free: 8.941 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.898e-05/0.8416, allocations: 8 kB / 1.045 GB, free: 8.934 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.8417, allocations: 350.7 kB / 1.045 GB, free: 8.582 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008668/0.8426, allocations: 399.7 kB / 1.046 GB, free: 8.191 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009046/0.8435, allocations: 489 kB / 1.046 GB, free: 7.68 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008902/0.8444, allocations: 431.6 kB / 1.046 GB, free: 7.258 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.8444, allocations: 0 / 1.046 GB, free: 7.258 MB / 0.795 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00518/0.8496, allocations: 1.733 MB / 1.048 GB, free: 5.508 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 9.119e-05/0.8497, allocations: 144.1 kB / 1.048 GB, free: 5.336 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.8497, allocations: 0 / 1.048 GB, free: 5.336 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004227/0.854, allocations: 0.9815 MB / 1.049 GB, free: 4.344 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006034/0.8546, allocations: 139.7 kB / 1.049 GB, free: 4.207 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00837/0.863, allocations: 6.394 MB / 1.056 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007871/0.8638, allocations: 115.8 kB / 1.056 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.678e-05/0.8639, allocations: 12 kB / 1.056 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 7.805e-06/0.8639, allocations: 8.062 kB / 1.056 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00459/0.8685, allocations: 1.66 MB / 1.057 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.8685, allocations: 192 / 1.057 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002975/0.8715, allocations: 0.7288 MB / 1.058 GB, free: 10.83 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005718/0.8721, allocations: 139.8 kB / 1.058 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005783/0.8778, allocations: 5.434 MB / 1.063 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007251/0.8786, allocations: 107.9 kB / 1.064 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.319e-05/0.8786, allocations: 15.98 kB / 1.064 GB, free: 4.742 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (32): * Single equations (assignments): 29 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004033/0.8791, allocations: 324.9 kB / 1.064 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.506e-05/0.8792, allocations: 47.52 kB / 1.064 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004845/0.884, allocations: 1.622 MB / 1.066 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.884, allocations: 7.953 kB / 1.066 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.8841, allocations: 4 kB / 1.066 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/0.8841, allocations: 11.97 kB / 1.066 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005673/0.8897, allocations: 2.307 MB / 1.068 GB, free: 324 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.8898, allocations: 3.938 kB / 1.068 GB, free: 320 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003844/0.8902, allocations: 91.83 kB / 1.068 GB, free: 228 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003723/0.8939, allocations: 0.9193 MB / 1.069 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.766e-05/0.894, allocations: 7.984 kB / 1.069 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007239/0.9012, allocations: 6.239 MB / 1.075 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.9013, allocations: 4.031 kB / 1.075 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004606/0.9059, allocations: 1.628 MB / 1.076 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002592/0.9061, allocations: 180.6 kB / 1.077 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.423e-05/0.9062, allocations: 16.14 kB / 1.077 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005665/0.9068, allocations: 99.8 kB / 1.077 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/0.9069, allocations: 31.95 kB / 1.077 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-05/0.907, allocations: 11.98 kB / 1.077 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.00035/0.9073, allocations: 303.1 kB / 1.077 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9073, allocations: 4 kB / 1.077 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0009645/0.9083, allocations: 244 kB / 1.077 GB, free: 6.086 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (22): * Single equations (assignments): 19 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 1 {2 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002025/0.9085, allocations: 123.2 kB / 1.077 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.004191/0.9127, allocations: 2.256 MB / 1.08 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.9128, allocations: 0 / 1.08 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001423/0.9142, allocations: 0.8211 MB / 1.08 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007077/0.9149, allocations: 125.4 kB / 1.081 GB, free: 2.625 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001992/0.9169, allocations: 1.353 MB / 1.082 GB, free: 1.23 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004778/0.9174, allocations: 0.9258 MB / 1.083 GB, free: 280 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001499/0.9176, allocations: 35.42 kB / 1.083 GB, free: 244 kB / 0.8262 GB Notification: Performance of SimCode: time 6.81e-07/0.9176, allocations: 0 / 1.083 GB, free: 244 kB / 0.8262 GB Notification: Performance of Templates: time 0.01868/0.9363, allocations: 15.39 MB / 1.098 GB, free: 0.8672 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.makefile make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridCalcHelperMain.o OMCppBuildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridCalcHelperMain.o] Error 1