Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 100.1 kB / 15.88 MB, free: 12 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.002121/0.002121, allocations: 197.1 kB / 16.79 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.519/1.519, allocations: 222.9 MB / 240.5 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002082/0.002082, allocations: 290.4 kB / 290.9 MB, free: 2.156 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9911/0.9911, allocations: 169.2 MB / 0.4983 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001738/0.001738, allocations: 91.02 kB / 0.5951 GB, free: 28.37 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.1669, allocations: 86.99 MB / 0.6801 GB, free: 1.227 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02341/0.1904, allocations: 22.41 MB / 0.702 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02482/0.2152, allocations: 17.6 MB / 0.7192 GB, free: 9.098 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003622/0.2189, allocations: 103.4 kB / 0.7192 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.009704/0.2286, allocations: 3.925 MB / 0.7231 GB, free: 5.066 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.01058/0.2392, allocations: 3.202 MB / 0.7262 GB, free: 1.871 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003706/0.243, allocations: 1.177 MB / 0.7274 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.009679/0.2526, allocations: 7.059 MB / 0.7343 GB, free: 9.617 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00572/0.2584, allocations: 2.51 MB / 0.7367 GB, free: 7.031 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005178/0.2636, allocations: 2.175 MB / 0.7388 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005115/0.2688, allocations: 2.452 MB / 0.7412 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001642/0.2705, allocations: 228 kB / 0.7414 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003711/0.2742, allocations: 1.119 MB / 0.7425 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.002102/0.2763, allocations: 1.055 MB / 0.7436 GB, free: 15.98 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.004702/0.2811, allocations: 1.861 MB / 0.7454 GB, free: 14.11 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.005964/0.287, allocations: 4.053 MB / 0.7493 GB, free: 10.05 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.2871, allocations: 4 kB / 0.7493 GB, free: 10.05 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.363e-06/0.2871, allocations: 0 / 0.7493 GB, free: 10.05 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0002159/0.2873, allocations: 0 / 0.7493 GB, free: 10.05 MB / 0.545 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.01108/0.2984, allocations: 4.608 MB / 0.7538 GB, free: 5.324 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.2985, allocations: 8.031 kB / 0.7539 GB, free: 5.316 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0157/0.3142, allocations: 3.265 MB / 0.757 GB, free: 2.043 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004423/0.3186, allocations: 2.096 MB / 0.7591 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003536/0.319, allocations: 458.2 kB / 0.7595 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00045/0.3195, allocations: 243.9 kB / 0.7598 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01011/0.3296, allocations: 4.81 MB / 0.7645 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.23e-05/0.3296, allocations: 0 / 0.7645 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000308/0.33, allocations: 104 kB / 0.7646 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000189/0.3302, allocations: 172.8 kB / 0.7647 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01219/0.3424, allocations: 5.198 MB / 0.7698 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3682/0.7106, allocations: 14.48 MB / 0.7839 GB, free: 80.63 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01004/0.7207, allocations: 3.401 MB / 0.7873 GB, free: 79.6 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003816/0.7245, allocations: 1.467 MB / 0.7887 GB, free: 79.15 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001364/0.7247, allocations: 26.83 kB / 0.7887 GB, free: 79.15 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004323/0.729, allocations: 1.788 MB / 0.7905 GB, free: 78.53 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=163): time 4.118e-06/0.729, allocations: 0 / 0.7905 GB, free: 78.53 MB / 0.5606 GB Notification: Performance of matching and sorting (n=250): time 0.1158/0.8449, allocations: 28.21 MB / 0.818 GB, free: 67.24 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001605/0.8451, allocations: 0.4932 MB / 0.8185 GB, free: 66.66 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0032/0.8483, allocations: 2.304 MB / 0.8207 GB, free: 65.46 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005573/0.8488, allocations: 75.08 kB / 0.8208 GB, free: 65.39 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008988/0.8497, allocations: 1.435 MB / 0.8222 GB, free: 64.13 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007002/0.8505, allocations: 0.82 MB / 0.823 GB, free: 63.42 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007614/0.8512, allocations: 413.2 kB / 0.8234 GB, free: 63.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.767e-05/0.8513, allocations: 301.1 kB / 0.8237 GB, free: 62.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004232/0.8555, allocations: 1.932 MB / 0.8256 GB, free: 61.36 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004717/0.8603, allocations: 2.223 MB / 0.8278 GB, free: 59.05 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009006/0.8693, allocations: 4.169 MB / 0.8318 GB, free: 54.75 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.059e-05/0.8694, allocations: 0 / 0.8318 GB, free: 54.75 MB / 0.5606 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01612/0.8855, allocations: 6.543 MB / 0.8382 GB, free: 48.12 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001016/0.8856, allocations: 146.7 kB / 0.8384 GB, free: 47.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.908e-05/0.8857, allocations: 8 kB / 0.8384 GB, free: 47.95 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008807/0.8945, allocations: 2.922 MB / 0.8412 GB, free: 45.02 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002659/0.8972, allocations: 499.2 kB / 0.8417 GB, free: 44.53 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03099/0.9282, allocations: 17.32 MB / 0.8586 GB, free: 27.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004196/0.9324, allocations: 323.6 kB / 0.8589 GB, free: 26.71 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003939/0.9328, allocations: 87.97 kB / 0.859 GB, free: 26.62 MB / 0.5606 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 (varLoad5.count,$PRE.varLoad5.count,varLoad5.T_start,$PRE.varLoad5.T_start,varLoad4.count,$PRE.varLoad4.count,varLoad4.T_start,$PRE.varLoad4.T_start,varLoad3.count,$PRE.varLoad3.count,varLoad3.T_start,$PRE.varLoad3.T_start,varLoad2.count,$PRE.varLoad2.count,varLoad2.T_start,$PRE.varLoad2.T_start,varLoad1.count,$PRE.varLoad1.count,varLoad1.T_start,$PRE.varLoad1.T_start,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,45.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,64)} Notification: Performance of prepare postOptimizeDAE: time 0.001479/0.9343, allocations: 0.7104 MB / 0.8597 GB, free: 25.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006602/0.935, allocations: 336 kB / 0.86 GB, free: 25.57 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000627/0.9356, allocations: 384.1 kB / 0.8604 GB, free: 25.19 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.356e-05/0.9356, allocations: 24 kB / 0.8604 GB, free: 25.16 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.427e-05/0.9357, allocations: 8 kB / 0.8604 GB, free: 25.16 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.596e-05/0.9357, allocations: 19.23 kB / 0.8604 GB, free: 25.14 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00396/0.9397, allocations: 3.62 MB / 0.864 GB, free: 21.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/0.9397, allocations: 3.938 kB / 0.864 GB, free: 21.51 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002202/0.9419, allocations: 421.1 kB / 0.8644 GB, free: 21.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008799/0.9507, allocations: 2.867 MB / 0.8672 GB, free: 18.23 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005281/0.9513, allocations: 59.91 kB / 0.8672 GB, free: 18.17 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03067/0.9819, allocations: 17.1 MB / 0.8839 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.982, allocations: 3.938 kB / 0.8839 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01785/0.9998, allocations: 6.177 MB / 0.89 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002625/1.003, allocations: 0.6961 MB / 0.8906 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006484/1.003, allocations: 48 kB / 0.8907 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00312/1.006, allocations: 319.5 kB / 0.891 GB, free: 9.516 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00137/1.008, allocations: 350.7 kB / 0.8913 GB, free: 9.176 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003065/1.008, allocations: 63.98 kB / 0.8914 GB, free: 9.113 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002407/1.01, allocations: 1.536 MB / 0.8929 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/1.01, allocations: 3.938 kB / 0.8929 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003933/1.014, allocations: 1.047 MB / 0.8939 GB, free: 6.527 MB / 0.5762 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 (118): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,62)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004527/1.015, allocations: 164.6 kB / 0.8941 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.02265/1.038, allocations: 6.454 MB / 0.9004 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.726e-06/1.038, allocations: 4.125 kB / 0.9004 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.01746/1.055, allocations: 4.037 MB / 0.9043 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007333/1.062, allocations: 1.038 MB / 0.9053 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02122/1.084, allocations: 8.239 MB / 0.9134 GB, free: 2.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003524/1.087, allocations: 2.238 MB / 0.9156 GB, free: 236 kB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001953/1.089, allocations: 187.4 kB / 0.9157 GB, free: 48 kB / 0.5919 GB Notification: Performance of SimCode: time 9.92e-07/1.089, allocations: 0 / 0.9157 GB, free: 48 kB / 0.5919 GB Notification: Performance of Templates: time 0.1189/1.208, allocations: 79.98 MB / 0.9938 GB, free: 412 kB / 0.67 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearizedCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearizedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearizedCalcHelperMain.o] Error 1