Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E.vPhase.1..S.1.|E.vPhase.1..S.2.|E.vPhase.2..S.1.|E.vPhase.2..S.2.|E.vPhase.3..S.1.|E.vPhase.3..S.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E.vPhase.1..S.1.|E.vPhase.1..S.2.|E.vPhase.2..S.1.|E.vPhase.2..S.2.|E.vPhase.3..S.1.|E.vPhase.3..S.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009202/0.0009202, 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.001273/0.001273, allocations: 176.3 kB / 16.58 MB, free: 6.863 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.571/1.571, allocations: 223.2 MB / 240.6 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.863/2.863, allocations: 436.7 MB / 0.7113 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000341/0.000341, allocations: 8 kB / 0.8717 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9395/0.9399, allocations: 153.7 MB / 1.022 GB, free: 1.258 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.01166/0.9516, allocations: 10.72 MB / 1.032 GB, free: 6.508 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.008385/0.96, allocations: 5.001 MB / 1.037 GB, free: 1.496 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00112/0.9612, allocations: 31.88 kB / 1.037 GB, free: 1.465 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0009562/0.9622, allocations: 294.1 kB / 1.037 GB, free: 1.176 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001315/0.9635, allocations: 0.5131 MB / 1.038 GB, free: 0.6602 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001447/0.965, allocations: 462.9 kB / 1.038 GB, free: 212 kB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.002926/0.9679, allocations: 2.786 MB / 1.041 GB, free: 13.41 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00507/0.973, allocations: 3.629 MB / 1.045 GB, free: 9.73 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001449/0.9744, allocations: 0.7278 MB / 1.045 GB, free: 9 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001367/0.9758, allocations: 1.005 MB / 1.046 GB, free: 7.992 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001599/0.976, allocations: 96 kB / 1.046 GB, free: 7.898 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009048/0.9769, allocations: 303.6 kB / 1.047 GB, free: 7.602 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0007273/0.9776, allocations: 0.721 MB / 1.047 GB, free: 6.879 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.000389/0.978, allocations: 352.9 kB / 1.048 GB, free: 6.527 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.002722/0.9808, allocations: 3.029 MB / 1.051 GB, free: 3.492 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.9808, allocations: 0 / 1.051 GB, free: 3.492 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.236e-06/0.9808, allocations: 0 / 1.051 GB, free: 3.492 MB / 0.795 GB Notification: Performance of Transformations before backend: time 3.772e-05/0.9808, allocations: 0 / 1.051 GB, free: 3.492 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.002982/0.9838, allocations: 1.644 MB / 1.052 GB, free: 1.793 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.9839, allocations: 15.92 kB / 1.052 GB, free: 1.777 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002182/0.9861, allocations: 485.5 kB / 1.053 GB, free: 1.301 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001807/0.9879, allocations: 1.135 MB / 1.054 GB, free: 124 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.668e-05/0.988, allocations: 115.1 kB / 1.054 GB, free: 8 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002549/0.9882, allocations: 152 kB / 1.054 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00427/0.9925, allocations: 2.731 MB / 1.057 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.786e-05/0.9926, allocations: 7.984 kB / 1.057 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001654/0.9927, allocations: 60 kB / 1.057 GB, free: 13 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003156/0.9931, allocations: 178.8 kB / 1.057 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003534/0.9966, allocations: 2.284 MB / 1.059 GB, free: 10.53 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01144/1.008, allocations: 10.54 MB / 1.07 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009241/1.009, allocations: 0.5804 MB / 1.07 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005492/1.01, allocations: 380.6 kB / 1.07 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001154/1.01, allocations: 96.95 kB / 1.071 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.529e-05/1.01, allocations: 38.56 kB / 1.071 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=36): time 3.246e-06/1.01, allocations: 0 / 1.071 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of matching and sorting (n=52): time 0.01882/1.029, allocations: 6.275 MB / 1.077 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.721e-05/1.029, allocations: 81.55 kB / 1.077 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001324/1.03, allocations: 0.8983 MB / 1.078 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001237/1.03, allocations: 37.7 kB / 1.078 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000534/1.031, allocations: 0.7499 MB / 1.078 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001983/1.031, allocations: 185.4 kB / 1.079 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.256e-05/1.031, allocations: 24 kB / 1.079 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001723/1.031, allocations: 382.8 kB / 1.079 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009743/1.032, allocations: 0.6421 MB / 1.08 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001256/1.033, allocations: 1.011 MB / 1.081 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/1.035, allocations: 0.8063 MB / 1.081 GB, free: 2.621 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/1.035, allocations: 4 kB / 1.081 GB, free: 2.617 MB / 0.8262 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.008178/1.043, allocations: 3.205 MB / 1.085 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004086/1.043, allocations: 435.4 kB / 1.085 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.117e-05/1.043, allocations: 15.95 kB / 1.085 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007005/1.05, allocations: 1.856 MB / 1.087 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009036/1.051, allocations: 223.6 kB / 1.087 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01515/1.066, allocations: 10.23 MB / 1.097 GB, free: 1.938 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001363/1.068, allocations: 175.6 kB / 1.097 GB, free: 1.766 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.949e-05/1.068, allocations: 43.98 kB / 1.097 GB, free: 1.723 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/1.068, allocations: 10.09 kB / 1.097 GB, free: 1.715 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006544/1.074, allocations: 2.614 MB / 1.1 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.195e-05/1.075, allocations: 12 kB / 1.1 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004695/1.079, allocations: 1.203 MB / 1.101 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009545/1.08, allocations: 259.5 kB / 1.101 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007441/1.088, allocations: 5.532 MB / 1.107 GB, free: 7.809 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001299/1.089, allocations: 151.7 kB / 1.107 GB, free: 7.66 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.651e-05/1.089, allocations: 40 kB / 1.107 GB, free: 7.621 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (99): * Single equations (assignments): 95 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.001524/1.091, allocations: 0.844 MB / 1.108 GB, free: 6.766 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001924/1.091, allocations: 83.02 kB / 1.108 GB, free: 6.684 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007232/1.098, allocations: 2.68 MB / 1.11 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/1.098, allocations: 8 kB / 1.11 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/1.098, allocations: 0 / 1.11 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/1.098, allocations: 3.984 kB / 1.11 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009979/1.108, allocations: 4.632 MB / 1.115 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/1.108, allocations: 4 kB / 1.115 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003777/1.109, allocations: 96 kB / 1.115 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006181/1.115, allocations: 1.712 MB / 1.117 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.531e-05/1.115, allocations: 15.95 kB / 1.117 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01213/1.127, allocations: 9.762 MB / 1.126 GB, free: 3.074 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/1.127, allocations: 4 kB / 1.126 GB, free: 3.07 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007092/1.134, allocations: 2.652 MB / 1.129 GB, free: 368 kB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005766/1.135, allocations: 280.1 kB / 1.129 GB, free: 68 kB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002229/1.135, allocations: 12 kB / 1.129 GB, free: 56 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008659/1.136, allocations: 135.8 kB / 1.129 GB, free: 15.92 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002137/1.136, allocations: 47.92 kB / 1.129 GB, free: 15.88 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.378e-05/1.136, allocations: 12 kB / 1.129 GB, free: 15.86 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0009923/1.137, allocations: 0.6434 MB / 1.13 GB, free: 15.23 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.3e-07/1.137, allocations: 0 / 1.13 GB, free: 15.23 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.002384/1.14, allocations: 0.5977 MB / 1.13 GB, free: 14.63 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (42): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.000276/1.14, allocations: 135 kB / 1.131 GB, free: 14.49 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.005276/1.145, allocations: 3.233 MB / 1.134 GB, free: 11.18 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/1.145, allocations: 5.938 kB / 1.134 GB, free: 11.18 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.00194/1.147, allocations: 1.28 MB / 1.135 GB, free: 9.844 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001287/1.148, allocations: 222.9 kB / 1.135 GB, free: 9.629 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00599/1.154, allocations: 3.756 MB / 1.139 GB, free: 5.809 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00157/1.156, allocations: 1.63 MB / 1.14 GB, free: 4.145 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002451/1.156, allocations: 67.36 kB / 1.141 GB, free: 4.078 MB / 0.8887 GB Notification: Performance of SimCode: time 1.112e-06/1.156, allocations: 4 kB / 1.141 GB, free: 4.074 MB / 0.8887 GB Notification: Performance of Templates: time 0.06483/1.221, allocations: 57.67 MB / 1.197 GB, free: 10.42 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.makefile make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGridCalcHelperMain.o OMCppBuildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGridCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGridCalcHelperMain.o] Error 1