Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.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.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,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_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,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_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007863/0.0007866, allocations: 102.6 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.0008705/0.0008705, allocations: 176.6 kB / 16.58 MB, free: 6.402 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.558/1.558, allocations: 223.2 MB / 240.6 MB, free: 5.418 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.548/2.548, allocations: 390.4 MB / 0.6662 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003248/0.0003248, allocations: 8 kB / 0.8154 GB, free: 14.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8719/0.8723, allocations: 142.3 MB / 0.9544 GB, free: 8.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium): time 0.005396/0.8777, allocations: 4.58 MB / 0.9589 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004976/0.8827, allocations: 3.492 MB / 0.9623 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003712/0.8831, allocations: 6 kB / 0.9623 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008221/0.884, allocations: 214.1 kB / 0.9625 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001118/0.8851, allocations: 362.2 kB / 0.9629 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006502/0.8858, allocations: 188.5 kB / 0.963 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001281/0.8871, allocations: 0.7649 MB / 0.9638 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00138/0.8885, allocations: 0.7401 MB / 0.9645 GB, free: 468 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003877/0.8889, allocations: 206.1 kB / 0.9647 GB, free: 360 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004406/0.8893, allocations: 259.8 kB / 0.965 GB, free: 212 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.342e-05/0.8894, allocations: 20.16 kB / 0.965 GB, free: 212 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00091/0.8903, allocations: 323.1 kB / 0.9653 GB, free: 72 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001997/0.8905, allocations: 143.1 kB / 0.9654 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001301/0.8906, allocations: 111.3 kB / 0.9655 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001056/0.8917, allocations: 0.7564 MB / 0.9663 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.8917, allocations: 0 / 0.9663 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.515e-06/0.8917, allocations: 4 kB / 0.9663 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.687e-06/0.8918, allocations: 0.7188 kB / 0.9663 GB, free: 15.39 MB / 0.7325 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.00154/0.8933, allocations: 0.7614 MB / 0.967 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.8934, allocations: 10.03 kB / 0.967 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003031/0.8964, allocations: 0.7152 MB / 0.9677 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001356/0.8978, allocations: 0.5372 MB / 0.9682 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.905e-05/0.8978, allocations: 20.72 kB / 0.9683 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.64e-05/0.8979, allocations: 28 kB / 0.9683 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001919/0.8998, allocations: 0.8421 MB / 0.9691 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/0.8999, allocations: 0.8438 kB / 0.9691 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.886e-05/0.9, allocations: 12 kB / 0.9691 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002316/0.9002, allocations: 70.03 kB / 0.9692 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002151/0.9024, allocations: 0.9423 MB / 0.9701 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00467/0.907, allocations: 2.96 MB / 0.973 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001638/0.9087, allocations: 0.5714 MB / 0.9736 GB, free: 10.15 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007524/0.9095, allocations: 323.2 kB / 0.9739 GB, free: 9.984 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001323/0.9096, allocations: 87.23 kB / 0.974 GB, free: 9.887 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.9097, allocations: 32.91 kB / 0.974 GB, free: 9.848 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=22): time 3.647e-06/0.9097, allocations: 0 / 0.974 GB, free: 9.848 MB / 0.7325 GB Notification: Performance of matching and sorting (n=36): time 0.01442/0.9241, allocations: 4.079 MB / 0.978 GB, free: 7.738 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.411e-05/0.9242, allocations: 85.06 kB / 0.9781 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008072/0.9251, allocations: 457.6 kB / 0.9785 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.133e-05/0.9251, allocations: 29.7 kB / 0.9785 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002305/0.9254, allocations: 240.1 kB / 0.9787 GB, free: 6.91 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001529/0.9256, allocations: 126.2 kB / 0.9789 GB, free: 6.785 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.221e-05/0.9256, allocations: 8 kB / 0.9789 GB, free: 6.777 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001836/0.9258, allocations: 350.8 kB / 0.9792 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009983/0.9268, allocations: 444.5 kB / 0.9796 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001132/0.9279, allocations: 0.5251 MB / 0.9801 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001064/0.929, allocations: 489.2 kB / 0.9806 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.929, allocations: 0 / 0.9806 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.005903/0.935, allocations: 1.92 MB / 0.9825 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001426/0.9351, allocations: 152 kB / 0.9826 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.9351, allocations: 4 kB / 0.9826 GB, free: 2.836 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004656/0.9398, allocations: 1.098 MB / 0.9837 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006474/0.9405, allocations: 127.8 kB / 0.9838 GB, free: 1.605 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01091/0.9514, allocations: 6.386 MB / 0.9901 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009893/0.9524, allocations: 119.9 kB / 0.9902 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001102/0.9526, allocations: 19.98 kB / 0.9902 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.9526, allocations: 4 kB / 0.9902 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004917/0.9575, allocations: 1.633 MB / 0.9918 GB, free: 9.176 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.9576, allocations: 7.984 kB / 0.9918 GB, free: 9.168 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003187/0.9608, allocations: 0.7977 MB / 0.9926 GB, free: 8.363 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006512/0.9614, allocations: 139.8 kB / 0.9927 GB, free: 8.227 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008553/0.97, allocations: 5.548 MB / 0.9981 GB, free: 2.406 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009381/0.971, allocations: 116.1 kB / 0.9982 GB, free: 2.293 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/0.9711, allocations: 20.09 kB / 0.9983 GB, free: 2.273 MB / 0.7481 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 (29): * Single equations (assignments): 27 * 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 {(2,100.0%) 8} * Non-linear torn systems: 1 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0006798/0.9718, allocations: 340.8 kB / 0.9986 GB, free: 1.93 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000289/0.9721, allocations: 43.53 kB / 0.9986 GB, free: 1.887 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005514/0.9776, allocations: 1.828 MB / 1 GB, free: 44 kB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/0.9777, allocations: 7.984 kB / 1 GB, free: 36 kB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.9777, allocations: 0 / 1 GB, free: 36 kB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.9777, allocations: 96 / 1 GB, free: 36 kB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006963/0.9847, allocations: 2.57 MB / 1.003 GB, free: 13.4 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.247e-06/0.9847, allocations: 3.984 kB / 1.003 GB, free: 13.39 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003853/0.9851, allocations: 91.92 kB / 1.003 GB, free: 13.3 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003977/0.9891, allocations: 1.016 MB / 1.004 GB, free: 12.28 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.892e-05/0.9892, allocations: 12 kB / 1.004 GB, free: 12.27 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00992/0.9991, allocations: 6.067 MB / 1.01 GB, free: 5.926 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.448e-06/0.9992, allocations: 8.016 kB / 1.01 GB, free: 5.918 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005477/1.005, allocations: 1.79 MB / 1.012 GB, free: 4.094 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004661/1.005, allocations: 192.6 kB / 1.012 GB, free: 3.887 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001759/1.005, allocations: 4 kB / 1.012 GB, free: 3.883 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007177/1.006, allocations: 103.8 kB / 1.012 GB, free: 3.781 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002103/1.006, allocations: 35.95 kB / 1.012 GB, free: 3.746 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.797e-05/1.006, allocations: 11.98 kB / 1.012 GB, free: 3.734 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0005916/1.007, allocations: 339.1 kB / 1.012 GB, free: 3.41 MB / 0.7637 GB Notification: Performance of sort global known variables: time 3.1e-07/1.007, allocations: 0 / 1.012 GB, free: 3.41 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001591/1.009, allocations: 284 kB / 1.013 GB, free: 3.133 MB / 0.7637 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 (19): * Single equations (assignments): 17 * 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 {(2,100.0%) 8} * Non-linear torn systems: 1 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004051/1.009, allocations: 162.9 kB / 1.013 GB, free: 2.965 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.006628/1.016, allocations: 2.536 MB / 1.015 GB, free: 384 kB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 8.245e-06/1.016, allocations: 8.062 kB / 1.015 GB, free: 376 kB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.002629/1.018, allocations: 0.9891 MB / 1.016 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/1.019, allocations: 117.8 kB / 1.016 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003042/1.022, allocations: 1.473 MB / 1.018 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008235/1.023, allocations: 0.9375 MB / 1.019 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002023/1.023, allocations: 47.41 kB / 1.019 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of SimCode: time 1.022e-06/1.024, allocations: 0 / 1.019 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of Templates: time 0.02477/1.048, allocations: 14.47 MB / 1.033 GB, free: 14.26 MB / 0.795 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.makefile make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.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.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMediumCalcHelperMain.o OMCppBuildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMediumCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMediumCalcHelperMain.o] Error 1