Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ACLineMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009489/0.0009488, allocations: 103 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.001223/0.001223, allocations: 175.1 kB / 16.58 MB, free: 6.859 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.426/1.426, allocations: 223.2 MB / 240.6 MB, free: 5.438 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.571/2.571, allocations: 390.4 MB / 0.6662 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000498/0.000498, allocations: 11.98 kB / 0.8154 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.792/0.7925, allocations: 142.3 MB / 0.9544 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01304/0.8056, allocations: 13.33 MB / 0.9674 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01537/0.821, allocations: 9.611 MB / 0.9768 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001896/0.8229, allocations: 50.19 kB / 0.9769 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0008862/0.8238, allocations: 278 kB / 0.9771 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.005278/0.8291, allocations: 1.463 MB / 0.9786 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001803/0.831, allocations: 0.5216 MB / 0.9791 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004683/0.8356, allocations: 2.91 MB / 0.9819 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003542/0.8392, allocations: 1.801 MB / 0.9837 GB, free: 1.695 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002575/0.8418, allocations: 1.281 MB / 0.9849 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001802/0.8436, allocations: 1.043 MB / 0.9859 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001639/0.8438, allocations: 68 kB / 0.986 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001162/0.845, allocations: 435.4 kB / 0.9864 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0004598/0.8454, allocations: 0.4906 MB / 0.9869 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0004144/0.8458, allocations: 352.8 kB / 0.9872 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.002082/0.8479, allocations: 2.135 MB / 0.9893 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.848, allocations: 0 / 0.9893 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.893e-06/0.848, allocations: 0 / 0.9893 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.175e-05/0.848, allocations: 0 / 0.9893 GB, free: 12.29 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003217/0.8512, allocations: 1.855 MB / 0.9911 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.8513, allocations: 8.031 kB / 0.9911 GB, free: 10.37 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01045/0.8617, allocations: 2.174 MB / 0.9933 GB, free: 8.188 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002547/0.8643, allocations: 1.163 MB / 0.9944 GB, free: 6.969 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.99e-05/0.8644, allocations: 90.27 kB / 0.9945 GB, free: 6.879 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000222/0.8646, allocations: 116 kB / 0.9946 GB, free: 6.766 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005352/0.87, allocations: 2.682 MB / 0.9972 GB, free: 3.934 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.201e-05/0.87, allocations: 11.84 kB / 0.9972 GB, free: 3.922 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001634/0.8702, allocations: 55.97 kB / 0.9973 GB, free: 3.867 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000583/0.8708, allocations: 194.1 kB / 0.9975 GB, free: 3.676 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007054/0.8779, allocations: 2.838 MB / 1 GB, free: 0.8281 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01388/0.8918, allocations: 10.55 MB / 1.011 GB, free: 5.695 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005616/0.8974, allocations: 2.387 MB / 1.013 GB, free: 3.285 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002768/0.9002, allocations: 1.303 MB / 1.014 GB, free: 1.98 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000104/0.9004, allocations: 13 kB / 1.014 GB, free: 1.965 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.145e-05/0.9004, allocations: 39.56 kB / 1.014 GB, free: 1.918 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=89): time 3.667e-06/0.9004, allocations: 4 kB / 1.014 GB, free: 1.914 MB / 0.7637 GB Notification: Performance of matching and sorting (n=153): time 0.0531/0.9535, allocations: 16.5 MB / 1.03 GB, free: 1.258 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.604e-05/0.9536, allocations: 68.72 kB / 1.03 GB, free: 1.18 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001664/0.9553, allocations: 1.16 MB / 1.032 GB, free: 8 kB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001807/0.9555, allocations: 53.7 kB / 1.032 GB, free: 15.95 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005746/0.9561, allocations: 0.7398 MB / 1.032 GB, free: 15.2 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.000501/0.9566, allocations: 0.5197 MB / 1.033 GB, free: 14.68 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001262/0.9567, allocations: 28 kB / 1.033 GB, free: 14.65 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001892/0.9569, allocations: 365.9 kB / 1.033 GB, free: 14.29 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003232/0.9602, allocations: 1.53 MB / 1.035 GB, free: 12.75 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003296/0.9635, allocations: 1.791 MB / 1.036 GB, free: 10.86 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003407/0.9669, allocations: 1.65 MB / 1.038 GB, free: 9.215 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-05/0.9669, allocations: 7.953 kB / 1.038 GB, free: 9.207 MB / 0.795 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01253/0.9794, allocations: 5.297 MB / 1.043 GB, free: 3.871 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.897e-05/0.9795, allocations: 8 kB / 1.043 GB, free: 3.863 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.008e-05/0.9795, allocations: 4 kB / 1.043 GB, free: 3.859 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006389/0.9859, allocations: 1.89 MB / 1.045 GB, free: 1.949 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001925/0.9879, allocations: 435.2 kB / 1.045 GB, free: 1.523 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02893/1.017, allocations: 22.13 MB / 1.067 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00247/1.019, allocations: 315.6 kB / 1.067 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001928/1.02, allocations: 75.91 kB / 1.067 GB, free: 9.945 MB / 0.8262 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 (82): * Single equations (assignments): 74 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 17,(3,100.0%) 17,(3,100.0%) 15,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000932/1.02, allocations: 458.4 kB / 1.068 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002964/1.021, allocations: 177.9 kB / 1.068 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01287/1.034, allocations: 5.355 MB / 1.073 GB, free: 3.906 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-05/1.034, allocations: 12 kB / 1.073 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-05/1.034, allocations: 20 kB / 1.073 GB, free: 3.875 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.172e-05/1.034, allocations: 7.969 kB / 1.073 GB, free: 3.867 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01708/1.051, allocations: 7.457 MB / 1.081 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.079e-05/1.051, allocations: 4.031 kB / 1.081 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001535/1.053, allocations: 367.4 kB / 1.081 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005789/1.058, allocations: 1.704 MB / 1.083 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001536/1.058, allocations: 47.95 kB / 1.083 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02739/1.086, allocations: 21.33 MB / 1.104 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.314e-06/1.086, allocations: 8 kB / 1.104 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01175/1.098, allocations: 4.905 MB / 1.108 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001111/1.099, allocations: 494.7 kB / 1.109 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000262/1.099, allocations: 35.98 kB / 1.109 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001876/1.101, allocations: 323.5 kB / 1.109 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005613/1.102, allocations: 157 kB / 1.109 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000132/1.102, allocations: 51.97 kB / 1.109 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.00115/1.103, allocations: 0.7782 MB / 1.11 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1e-07/1.103, allocations: 0 / 1.11 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002311/1.105, allocations: 0.6562 MB / 1.111 GB, free: 12.27 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 17,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000308/1.106, allocations: 139.1 kB / 1.111 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.01123/1.117, allocations: 5.183 MB / 1.116 GB, free: 6.836 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.233e-05/1.117, allocations: 4 kB / 1.116 GB, free: 6.832 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.007278/1.124, allocations: 3.363 MB / 1.119 GB, free: 3.359 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002626/1.127, allocations: 0.5168 MB / 1.12 GB, free: 2.848 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00924/1.136, allocations: 5 MB / 1.125 GB, free: 13.79 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001322/1.137, allocations: 1.572 MB / 1.126 GB, free: 12.19 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006013/1.138, allocations: 127.3 kB / 1.126 GB, free: 12.06 MB / 0.8887 GB Notification: Performance of SimCode: time 1.313e-06/1.138, allocations: 0 / 1.126 GB, free: 12.06 MB / 0.8887 GB Notification: Performance of Templates: time 0.09665/1.235, allocations: 85.61 MB / 1.21 GB, free: 6.52 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ACLineMediumCalcHelperMain.o OMCppBuildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMediumCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMediumCalcHelperMain.o] Error 1