Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_9_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_9_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.0008331/0.0008331, allocations: 102.4 kB / 15.71 MB, free: 448 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.0009114/0.0009114, allocations: 175.9 kB / 16.58 MB, free: 6.879 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.549/1.549, allocations: 223.2 MB / 240.6 MB, free: 5.305 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.674/2.674, allocations: 390.4 MB / 0.6662 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003792/0.0003795, allocations: 19.94 kB / 0.8154 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9061/0.9065, allocations: 142.3 MB / 0.9544 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLines): time 0.02367/0.9302, allocations: 20.41 MB / 0.9743 GB, free: 8.543 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02943/0.9597, allocations: 16.41 MB / 0.9904 GB, free: 11.24 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005093/0.9648, allocations: 103.4 kB / 0.9905 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.00346/0.9683, allocations: 0.5541 MB / 0.991 GB, free: 10.58 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01306/0.9814, allocations: 2.861 MB / 0.9938 GB, free: 7.715 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.004369/0.9858, allocations: 0.969 MB / 0.9947 GB, free: 6.75 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.01133/0.9971, allocations: 5.768 MB / 1 GB, free: 0.9648 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004607/1.002, allocations: 2.013 MB / 1.002 GB, free: 14.89 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005033/1.007, allocations: 1.871 MB / 1.004 GB, free: 13.01 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005469/1.012, allocations: 2.175 MB / 1.006 GB, free: 10.82 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.001093/1.014, allocations: 164 kB / 1.006 GB, free: 10.66 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00267/1.016, allocations: 0.4916 MB / 1.007 GB, free: 10.17 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001649/1.018, allocations: 0.9186 MB / 1.008 GB, free: 9.25 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.002321/1.02, allocations: 0.6873 MB / 1.008 GB, free: 8.555 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.006444/1.027, allocations: 3.822 MB / 1.012 GB, free: 4.723 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 8.066e-06/1.027, allocations: 0 / 1.012 GB, free: 4.723 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.775e-06/1.027, allocations: 0 / 1.012 GB, free: 4.723 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0002418/1.027, allocations: 0 / 1.012 GB, free: 4.723 MB / 0.7637 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.01006/1.037, allocations: 3.884 MB / 1.016 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/1.037, allocations: 8.031 kB / 1.016 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01535/1.052, allocations: 3.358 MB / 1.019 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005521/1.058, allocations: 1.964 MB / 1.021 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002508/1.058, allocations: 176.7 kB / 1.021 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001051/1.059, allocations: 232 kB / 1.022 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01201/1.071, allocations: 4.728 MB / 1.026 GB, free: 6.043 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.652e-05/1.071, allocations: 7.891 kB / 1.026 GB, free: 6.035 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004031/1.072, allocations: 108 kB / 1.026 GB, free: 5.93 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002053/1.072, allocations: 168.8 kB / 1.027 GB, free: 5.762 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0131/1.085, allocations: 5.222 MB / 1.032 GB, free: 0.5234 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0255/1.111, allocations: 14.11 MB / 1.045 GB, free: 1.246 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01101/1.122, allocations: 3.853 MB / 1.049 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003704/1.126, allocations: 1.514 MB / 1.051 GB, free: 11.87 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001685/1.126, allocations: 21.3 kB / 1.051 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004065/1.13, allocations: 1.825 MB / 1.052 GB, free: 9.953 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=163): time 3.466e-06/1.13, allocations: 0 / 1.052 GB, free: 9.953 MB / 0.8106 GB Notification: Performance of matching and sorting (n=250): time 0.1185/1.248, allocations: 33.4 MB / 1.085 GB, free: 8.34 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003494/1.249, allocations: 0.4928 MB / 1.086 GB, free: 7.734 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004083/1.253, allocations: 2.269 MB / 1.088 GB, free: 5.453 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0004926/1.253, allocations: 81.69 kB / 1.088 GB, free: 5.367 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.001498/1.255, allocations: 1.434 MB / 1.089 GB, free: 3.918 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.001285/1.256, allocations: 0.8124 MB / 1.09 GB, free: 3.094 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003392/1.257, allocations: 48 kB / 1.09 GB, free: 3.047 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002416/1.257, allocations: 402.7 kB / 1.09 GB, free: 2.648 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004809/1.262, allocations: 1.921 MB / 1.092 GB, free: 0.7227 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005175/1.267, allocations: 2.22 MB / 1.094 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005042/1.272, allocations: 2.128 MB / 1.097 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.528e-06/1.272, allocations: 0 / 1.097 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01643/1.288, allocations: 6.165 MB / 1.103 GB, free: 5.98 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003474/1.289, allocations: 407.5 kB / 1.103 GB, free: 5.465 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.974e-05/1.289, allocations: 4 kB / 1.103 GB, free: 5.461 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006506/1.295, allocations: 1.852 MB / 1.105 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003505/1.299, allocations: 0.5813 MB / 1.105 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02487/1.324, allocations: 14.16 MB / 1.119 GB, free: 4.625 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003923/1.328, allocations: 407.6 kB / 1.12 GB, free: 4.227 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004936/1.328, allocations: 87.97 kB / 1.12 GB, free: 4.141 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/1.328, allocations: 4 kB / 1.12 GB, free: 4.137 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01402/1.342, allocations: 5.749 MB / 1.125 GB, free: 14.3 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.327e-05/1.342, allocations: 8 kB / 1.125 GB, free: 14.3 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00474/1.347, allocations: 1.821 MB / 1.127 GB, free: 12.46 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00284/1.35, allocations: 0.6124 MB / 1.128 GB, free: 11.85 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0205/1.37, allocations: 13.44 MB / 1.141 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003715/1.374, allocations: 407.5 kB / 1.141 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002716/1.374, allocations: 87.97 kB / 1.141 GB, free: 13.65 MB / 0.9044 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.001609/1.376, allocations: 0.7874 MB / 1.142 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005173/1.377, allocations: 332.1 kB / 1.142 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007693/1.377, allocations: 388.1 kB / 1.143 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.067e-05/1.377, allocations: 24 kB / 1.143 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.833e-05/1.377, allocations: 19.89 kB / 1.143 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.91e-05/1.378, allocations: 11.95 kB / 1.143 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003881/1.381, allocations: 3.165 MB / 1.146 GB, free: 8.871 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.656e-06/1.381, allocations: 0 / 1.146 GB, free: 8.871 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002307/1.384, allocations: 0.515 MB / 1.146 GB, free: 8.355 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005305/1.389, allocations: 1.723 MB / 1.148 GB, free: 6.625 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002106/1.389, allocations: 43.97 kB / 1.148 GB, free: 6.582 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02088/1.41, allocations: 13.94 MB / 1.162 GB, free: 8.371 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/1.41, allocations: 0 / 1.162 GB, free: 8.371 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01411/1.424, allocations: 5.779 MB / 1.167 GB, free: 2.555 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001781/1.426, allocations: 0.6648 MB / 1.168 GB, free: 1.867 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005292/1.427, allocations: 52 kB / 1.168 GB, free: 1.816 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002707/1.429, allocations: 400.1 kB / 1.168 GB, free: 1.426 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008975/1.43, allocations: 310.6 kB / 1.169 GB, free: 1.125 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001885/1.431, allocations: 67.97 kB / 1.169 GB, free: 1.059 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.002589/1.433, allocations: 1.513 MB / 1.17 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.31e-07/1.433, allocations: 0 / 1.17 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.006015/1.439, allocations: 1.629 MB / 1.172 GB, free: 13.92 MB / 0.9356 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.0003829/1.44, allocations: 170.7 kB / 1.172 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.03049/1.47, allocations: 10.07 MB / 1.182 GB, free: 3.48 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.707e-05/1.47, allocations: 4 kB / 1.182 GB, free: 3.477 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.01267/1.483, allocations: 3.487 MB / 1.185 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007665/1.49, allocations: 1.051 MB / 1.186 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02277/1.513, allocations: 7.76 MB / 1.194 GB, free: 7.137 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002613/1.516, allocations: 2.308 MB / 1.196 GB, free: 4.789 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001298/1.517, allocations: 203.3 kB / 1.196 GB, free: 4.59 MB / 0.9512 GB Notification: Performance of SimCode: time 1.573e-06/1.517, allocations: 0 / 1.196 GB, free: 4.59 MB / 0.9512 GB Notification: Performance of Templates: time 0.7868/2.304, allocations: 79.72 MB / 1.274 GB, free: 256.7 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLines.makefile make -j1 -f Buildings_9_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_9_Buildings.Electrical.DC.Lines.Examples.DCLinesCalcHelperMain.o OMCppBuildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesCalcHelperMain.o] Error 1