Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.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.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009209/0.0009209, allocations: 99.83 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.00121/0.00121, allocations: 174.9 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.463/1.463, 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.829/2.829, allocations: 436.7 MB / 0.7113 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004131/0.0004132, allocations: 11.94 kB / 0.8717 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8651/0.8655, allocations: 153.6 MB / 1.022 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLines): time 0.02189/0.8874, allocations: 20.42 MB / 1.042 GB, free: 12.66 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.02387/0.9114, allocations: 16.4 MB / 1.058 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003854/0.9152, allocations: 99.44 kB / 1.058 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.003416/0.9187, allocations: 0.5696 MB / 1.058 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.01258/0.9313, allocations: 2.854 MB / 1.061 GB, free: 8.691 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.00433/0.9357, allocations: 0.9609 MB / 1.062 GB, free: 7.734 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.01389/0.9496, allocations: 5.764 MB / 1.068 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006466/0.9561, allocations: 2.017 MB / 1.07 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005155/0.9613, allocations: 1.867 MB / 1.071 GB, free: 14 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005618/0.967, allocations: 2.171 MB / 1.074 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.001625/0.9687, allocations: 160 kB / 1.074 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003175/0.9718, allocations: 0.4955 MB / 1.074 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.002288/0.9742, allocations: 0.9147 MB / 1.075 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.002302/0.9765, allocations: 0.6912 MB / 1.076 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.007135/0.9836, allocations: 3.814 MB / 1.08 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.9837, allocations: 0 / 1.08 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.825e-06/0.9837, allocations: 0 / 1.08 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.00028/0.984, allocations: 4 kB / 1.08 GB, free: 5.719 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.01068/0.9947, allocations: 3.865 MB / 1.083 GB, free: 1.742 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.9947, allocations: 15.92 kB / 1.083 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01566/1.01, allocations: 3.362 MB / 1.087 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005483/1.016, allocations: 1.964 MB / 1.089 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002667/1.016, allocations: 180.7 kB / 1.089 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001013/1.017, allocations: 236 kB / 1.089 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01318/1.03, allocations: 4.724 MB / 1.094 GB, free: 7.043 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.519e-05/1.031, allocations: 4 kB / 1.094 GB, free: 7.039 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000778/1.031, allocations: 99.98 kB / 1.094 GB, free: 6.941 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002319/1.032, allocations: 168.8 kB / 1.094 GB, free: 6.773 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01435/1.046, allocations: 5.226 MB / 1.099 GB, free: 1.531 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02669/1.073, allocations: 14.12 MB / 1.113 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0123/1.085, allocations: 3.849 MB / 1.116 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003789/1.089, allocations: 1.506 MB / 1.118 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002028/1.089, allocations: 25.3 kB / 1.118 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004302/1.093, allocations: 1.814 MB / 1.12 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=163): time 5.971e-06/1.093, allocations: 0 / 1.12 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of matching and sorting (n=250): time 0.1191/1.213, allocations: 33.4 MB / 1.152 GB, free: 9.348 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002943/1.213, allocations: 0.4889 MB / 1.153 GB, free: 8.746 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004374/1.217, allocations: 2.277 MB / 1.155 GB, free: 6.457 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0005742/1.218, allocations: 81.69 kB / 1.155 GB, free: 6.371 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.001461/1.219, allocations: 1.426 MB / 1.156 GB, free: 4.93 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.001397/1.221, allocations: 0.8201 MB / 1.157 GB, free: 4.098 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004596/1.221, allocations: 44 kB / 1.157 GB, free: 4.055 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0003138/1.222, allocations: 398.7 kB / 1.158 GB, free: 3.66 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005389/1.227, allocations: 1.925 MB / 1.16 GB, free: 1.73 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005179/1.232, allocations: 2.222 MB / 1.162 GB, free: 15.43 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005045/1.237, allocations: 2.132 MB / 1.164 GB, free: 13.24 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.856e-05/1.237, allocations: 7.953 kB / 1.164 GB, free: 13.23 MB / 0.92 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01603/1.253, allocations: 6.161 MB / 1.17 GB, free: 6.98 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003282/1.254, allocations: 407.5 kB / 1.17 GB, free: 6.465 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.177e-05/1.254, allocations: 4 kB / 1.17 GB, free: 6.461 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006239/1.26, allocations: 1.852 MB / 1.172 GB, free: 4.605 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00292/1.263, allocations: 0.5891 MB / 1.173 GB, free: 4.016 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02298/1.286, allocations: 14.14 MB / 1.186 GB, free: 5.641 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00398/1.29, allocations: 403.6 kB / 1.187 GB, free: 5.246 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005835/1.291, allocations: 91.95 kB / 1.187 GB, free: 5.156 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/1.291, allocations: 6.188 kB / 1.187 GB, free: 5.152 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01523/1.306, allocations: 5.761 MB / 1.193 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.094e-05/1.306, allocations: 7.953 kB / 1.193 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005332/1.311, allocations: 1.818 MB / 1.194 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003154/1.315, allocations: 0.6087 MB / 1.195 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02319/1.338, allocations: 13.43 MB / 1.208 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003808/1.342, allocations: 407.5 kB / 1.208 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005723/1.342, allocations: 87.97 kB / 1.209 GB, free: 14.68 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.varLoad1.T_start,varLoad1.T_start,$PRE.varLoad1.count,varLoad1.count,$PRE.varLoad2.T_start,varLoad2.T_start,$PRE.varLoad2.count,varLoad2.count,$PRE.varLoad3.T_start,varLoad3.T_start,$PRE.varLoad3.count,varLoad3.count,$PRE.varLoad4.T_start,varLoad4.T_start,$PRE.varLoad4.count,varLoad4.count,$PRE.varLoad5.T_start,varLoad5.T_start,$PRE.varLoad5.count,varLoad5.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (172): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 5 * 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 {(10,45.0%) 52} * Non-linear torn systems: 1 {10 52} Notification: Performance of prepare postOptimizeDAE: time 0.00217/1.344, allocations: 0.784 MB / 1.209 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001018/1.345, allocations: 336 kB / 1.21 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001148/1.347, allocations: 392.1 kB / 1.21 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.784e-05/1.347, allocations: 27.98 kB / 1.21 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.826e-05/1.347, allocations: 12 kB / 1.21 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-05/1.347, allocations: 11.95 kB / 1.21 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005849/1.353, allocations: 3.169 MB / 1.213 GB, free: 9.883 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.253e-05/1.353, allocations: 0 / 1.213 GB, free: 9.883 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002457/1.355, allocations: 0.5189 MB / 1.214 GB, free: 9.363 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00596/1.361, allocations: 1.719 MB / 1.215 GB, free: 7.637 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004262/1.362, allocations: 51.97 kB / 1.215 GB, free: 7.586 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02294/1.384, allocations: 13.93 MB / 1.229 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/1.385, allocations: 4 kB / 1.229 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0149/1.399, allocations: 5.783 MB / 1.235 GB, free: 3.555 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002433/1.402, allocations: 0.6648 MB / 1.235 GB, free: 2.867 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001234/1.403, allocations: 47.98 kB / 1.235 GB, free: 2.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003311/1.407, allocations: 399.5 kB / 1.236 GB, free: 2.43 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001091/1.408, allocations: 306.6 kB / 1.236 GB, free: 2.133 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003292/1.408, allocations: 71.97 kB / 1.236 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0035/1.411, allocations: 1.513 MB / 1.238 GB, free: 0.5508 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6.52e-07/1.411, allocations: 0 / 1.238 GB, free: 0.5508 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.006813/1.418, allocations: 1.625 MB / 1.239 GB, free: 14.93 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varLoad1.T_start,varLoad1.count,varLoad2.T_start,varLoad2.count,varLoad3.T_start,varLoad3.count,varLoad4.T_start,varLoad4.count,varLoad5.T_start,varLoad5.count) * Number of discrete states: 5 (varLoad1.count,varLoad2.count,varLoad3.count,varLoad4.count,varLoad5.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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 {(10,60.0%) 52} * Non-linear torn systems: 1 {10 52} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005301/1.419, allocations: 159.1 kB / 1.239 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.02421/1.443, allocations: 10.08 MB / 1.249 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.445e-05/1.443, allocations: 0 / 1.249 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00895/1.452, allocations: 3.488 MB / 1.253 GB, free: 0.9805 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.6455/2.098, allocations: 1.049 MB / 1.254 GB, free: 210 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01774/2.115, allocations: 7.75 MB / 1.261 GB, free: 207.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00364/2.119, allocations: 2.307 MB / 1.263 GB, free: 206.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00156/2.121, allocations: 200.2 kB / 1.264 GB, free: 206.6 MB / 0.9981 GB Notification: Performance of SimCode: time 1.332e-06/2.121, allocations: 4.562 kB / 1.264 GB, free: 206.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.1147/2.235, allocations: 79.72 MB / 1.341 GB, free: 152.4 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.makefile make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.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.DC.Lines.Examples.DCLinesCalcHelperMain.o OMCppBuildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesCalcHelperMain.o] Error 1