Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000961/0.0009652, allocations: 102.9 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.001362/0.001362, allocations: 172.3 kB / 16.58 MB, free: 6.398 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.504/1.504, allocations: 223.3 MB / 240.6 MB, free: 5.402 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.595/2.595, allocations: 390.4 MB / 0.6662 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004398/0.0004398, allocations: 8 kB / 0.8154 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.001/1.001, allocations: 142.3 MB / 0.9544 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03803/1.039, allocations: 29.73 MB / 0.9835 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02153/1.061, allocations: 9.744 MB / 0.993 GB, free: 8.555 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004603/1.066, allocations: 127.2 kB / 0.9931 GB, free: 8.43 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002433/1.068, allocations: 0.6239 MB / 0.9937 GB, free: 7.801 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.00582/1.074, allocations: 1.466 MB / 0.9951 GB, free: 6.328 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.005162/1.079, allocations: 1.256 MB / 0.9964 GB, free: 5.074 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.01344/1.092, allocations: 8.27 MB / 1.004 GB, free: 12.78 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02086/1.113, allocations: 10.34 MB / 1.015 GB, free: 2.359 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005824/1.119, allocations: 2.26 MB / 1.017 GB, free: 92 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00626/1.126, allocations: 2.897 MB / 1.02 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001188/1.127, allocations: 268 kB / 1.02 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004014/1.131, allocations: 0.8388 MB / 1.021 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.003457/1.134, allocations: 2.034 MB / 1.023 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.002481/1.137, allocations: 0.9563 MB / 1.024 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01305/1.15, allocations: 8.347 MB / 1.032 GB, free: 0.7109 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 1.049e-05/1.15, allocations: 0 / 1.032 GB, free: 0.7109 MB / 0.7794 GB Notification: Performance of FrontEnd: time 4.288e-06/1.15, allocations: 0 / 1.032 GB, free: 0.7109 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0003796/1.15, allocations: 0 / 1.032 GB, free: 0.7109 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01149/1.162, allocations: 4.07 MB / 1.036 GB, free: 12.57 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/1.162, allocations: 12.03 kB / 1.036 GB, free: 12.56 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00642/1.168, allocations: 0.9542 MB / 1.037 GB, free: 11.6 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007247/1.176, allocations: 2.808 MB / 1.039 GB, free: 8.73 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002843/1.176, allocations: 345.3 kB / 1.04 GB, free: 8.391 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001276/1.177, allocations: 459.9 kB / 1.04 GB, free: 7.941 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01718/1.194, allocations: 7.62 MB / 1.048 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001587/1.195, allocations: 35.67 kB / 1.048 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005516/1.195, allocations: 211.8 kB / 1.048 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003888/1.196, allocations: 309 kB / 1.048 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01318/1.209, allocations: 5.671 MB / 1.054 GB, free: 9.738 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04614/1.255, allocations: 35.12 MB / 1.088 GB, free: 3.41 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00342/1.258, allocations: 2.152 MB / 1.09 GB, free: 1.137 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001731/1.26, allocations: 1.268 MB / 1.091 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.067e-05/1.26, allocations: 13.31 kB / 1.091 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.095e-05/1.26, allocations: 51.88 kB / 1.091 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=133): time 3.817e-06/1.26, allocations: 0 / 1.091 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of matching and sorting (n=136): time 0.01507/1.275, allocations: 7.081 MB / 1.098 GB, free: 8.445 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.862e-05/1.276, allocations: 72.72 kB / 1.098 GB, free: 8.363 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002271/1.278, allocations: 1.476 MB / 1.1 GB, free: 6.84 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.932e-05/1.278, allocations: 45.7 kB / 1.1 GB, free: 6.789 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.001546/1.28, allocations: 2.008 MB / 1.102 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004501/1.28, allocations: 485.2 kB / 1.102 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.329e-05/1.28, allocations: 32 kB / 1.102 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002259/1.28, allocations: 389.8 kB / 1.103 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00136/1.282, allocations: 0.9057 MB / 1.104 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001942/1.284, allocations: 1.581 MB / 1.105 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001724/1.285, allocations: 1.178 MB / 1.106 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.074e-05/1.285, allocations: 8 kB / 1.106 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.00622/1.292, allocations: 3.515 MB / 1.11 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.386e-05/1.292, allocations: 13.25 kB / 1.11 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.986e-05/1.292, allocations: 24 kB / 1.11 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002513/1.294, allocations: 0.8962 MB / 1.111 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/1.295, allocations: 359.3 kB / 1.111 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02179/1.317, allocations: 21.19 MB / 1.132 GB, free: 4.191 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002001/1.319, allocations: 103.7 kB / 1.132 GB, free: 4.094 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000204/1.32, allocations: 88 kB / 1.132 GB, free: 4.008 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 6,(2,100.0%) 6,(3,77.8%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003125/1.323, allocations: 1.613 MB / 1.133 GB, free: 2.383 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004767/1.323, allocations: 205.6 kB / 1.134 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005143/1.328, allocations: 2.967 MB / 1.136 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.881e-05/1.328, allocations: 12 kB / 1.136 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.855e-05/1.328, allocations: 19.89 kB / 1.136 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.378e-05/1.328, allocations: 7.969 kB / 1.137 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01202/1.34, allocations: 7.329 MB / 1.144 GB, free: 7.562 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/1.34, allocations: 4 kB / 1.144 GB, free: 7.559 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007406/1.341, allocations: 175.8 kB / 1.144 GB, free: 7.387 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002275/1.344, allocations: 0.814 MB / 1.145 GB, free: 6.535 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-05/1.344, allocations: 32 kB / 1.145 GB, free: 6.504 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01967/1.363, allocations: 20.3 MB / 1.164 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.7e-06/1.363, allocations: 7.938 kB / 1.164 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005293/1.369, allocations: 3.015 MB / 1.167 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001088/1.37, allocations: 462.5 kB / 1.168 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002215/1.37, allocations: 27.95 kB / 1.168 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007046/1.371, allocations: 75.91 kB / 1.168 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003656/1.371, allocations: 120.7 kB / 1.168 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.967e-05/1.371, allocations: 36 kB / 1.168 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001471/1.373, allocations: 0.9639 MB / 1.169 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.2e-07/1.373, allocations: 0 / 1.169 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002933/1.376, allocations: 0.7812 MB / 1.17 GB, free: 10.97 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002629/1.376, allocations: 156.2 kB / 1.17 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.005929/1.382, allocations: 4.003 MB / 1.174 GB, free: 6.656 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/1.382, allocations: 0 / 1.174 GB, free: 6.656 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.003819/1.386, allocations: 2.749 MB / 1.177 GB, free: 3.75 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003011/1.389, allocations: 0.6646 MB / 1.177 GB, free: 3.09 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01428/1.403, allocations: 9.354 MB / 1.186 GB, free: 9.637 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003526/1.407, allocations: 3.179 MB / 1.189 GB, free: 6.426 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005434/1.407, allocations: 127.4 kB / 1.19 GB, free: 6.301 MB / 0.9512 GB Notification: Performance of SimCode: time 1.242e-06/1.407, allocations: 0 / 1.19 GB, free: 6.301 MB / 0.9512 GB Notification: Performance of Templates: time 0.8758/2.283, allocations: 321.1 MB / 1.503 GB, free: 51.61 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_LCalcHelperMain.o OMCppBuildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_LCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_LCalcHelperMain.o] Error 1