Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLine.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.DCLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|line1.R|line.R|line2.R|load1.i.1.|load2.i.1.|load3.i.1.|E.S.1.",fileNamePrefix="Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLine") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|line1.R|line.R|line2.R|load1.i.1.|load2.i.1.|load3.i.1.|E.S.1.",fileNamePrefix="Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008261/0.0008261, 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.001222/0.001223, allocations: 176 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.55/1.55, 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 9.1.2-maint.9.1.x/package.mo): time 2.577/2.577, allocations: 390.4 MB / 0.6662 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003712/0.0003713, allocations: 19.98 kB / 0.8154 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8869/0.8873, allocations: 142.3 MB / 0.9544 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.006375/0.8937, allocations: 5.576 MB / 0.9599 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006811/0.9006, allocations: 4.218 MB / 0.964 GB, free: 448 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001071/0.9017, allocations: 22.06 kB / 0.964 GB, free: 440 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000773/0.9025, allocations: 148.2 kB / 0.9641 GB, free: 312 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00301/0.9055, allocations: 0.6241 MB / 0.9647 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001013/0.9066, allocations: 243.4 kB / 0.965 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002412/0.909, allocations: 1.202 MB / 0.9662 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009457/0.9099, allocations: 488.1 kB / 0.9666 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008928/0.9108, allocations: 383.4 kB / 0.967 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008918/0.9117, allocations: 467.6 kB / 0.9674 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.478e-05/0.9119, allocations: 33.22 kB / 0.9675 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005609/0.9124, allocations: 145.8 kB / 0.9676 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002548/0.9127, allocations: 200.2 kB / 0.9678 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002234/0.9129, allocations: 167.4 kB / 0.968 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0009879/0.9139, allocations: 0.8118 MB / 0.9687 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.9139, allocations: 4 kB / 0.9688 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.923e-06/0.9139, allocations: 0 / 0.9688 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.256e-05/0.914, allocations: 1.406 kB / 0.9688 GB, free: 13.3 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.00188/0.9158, allocations: 0.9795 MB / 0.9697 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.9159, allocations: 8.375 kB / 0.9697 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003156/0.9191, allocations: 0.6505 MB / 0.9704 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009671/0.92, allocations: 0.5212 MB / 0.9709 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.791e-05/0.9201, allocations: 46.53 kB / 0.9709 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.9202, allocations: 48.11 kB / 0.971 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002163/0.9224, allocations: 1.019 MB / 0.9719 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/0.9224, allocations: 0.8438 kB / 0.9719 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.462e-05/0.9225, allocations: 26.67 kB / 0.972 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-05/0.9226, allocations: 48.09 kB / 0.972 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002402/0.925, allocations: 1.014 MB / 0.973 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004822/0.9298, allocations: 3.527 MB / 0.9765 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001465/0.9313, allocations: 0.5079 MB / 0.9769 GB, free: 7.145 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005813/0.9319, allocations: 241.7 kB / 0.9772 GB, free: 7.031 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.068e-05/0.932, allocations: 7.516 kB / 0.9772 GB, free: 7.027 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/0.932, allocations: 40.12 kB / 0.9772 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=31): time 2.584e-06/0.932, allocations: 5.156 kB / 0.9772 GB, free: 6.977 MB / 0.7325 GB Notification: Performance of matching and sorting (n=43): time 0.006958/0.939, allocations: 2.215 MB / 0.9794 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.9391, allocations: 56.16 kB / 0.9794 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007568/0.9399, allocations: 0.5684 MB / 0.98 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.388e-05/0.9399, allocations: 33.7 kB / 0.98 GB, free: 5.266 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002485/0.9402, allocations: 356.2 kB / 0.9804 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/0.9403, allocations: 149.8 kB / 0.9805 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.229e-05/0.9403, allocations: 12 kB / 0.9805 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.9405, allocations: 374.8 kB / 0.9809 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006191/0.9411, allocations: 272.9 kB / 0.9811 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006731/0.9418, allocations: 381.8 kB / 0.9815 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006466/0.9425, allocations: 309.7 kB / 0.9818 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.9425, allocations: 0 / 0.9818 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002251/0.9447, allocations: 0.9782 MB / 0.9828 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001307/0.9449, allocations: 182.1 kB / 0.9829 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.916e-06/0.9449, allocations: 0 / 0.9829 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00107/0.946, allocations: 280.8 kB / 0.9832 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005881/0.9466, allocations: 131.8 kB / 0.9833 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006948/0.9535, allocations: 8.478 MB / 0.9916 GB, free: 8.484 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007942/0.9544, allocations: 47.95 kB / 0.9917 GB, free: 8.438 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.297e-05/0.9544, allocations: 16 kB / 0.9917 GB, free: 8.422 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 9.568e-06/0.9544, allocations: 8.062 kB / 0.9917 GB, free: 8.414 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00224/0.9567, allocations: 1.085 MB / 0.9927 GB, free: 7.254 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.9567, allocations: 0 / 0.9927 GB, free: 7.254 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007081/0.9574, allocations: 221.2 kB / 0.9929 GB, free: 7.02 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005649/0.958, allocations: 135.8 kB / 0.9931 GB, free: 6.887 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005802/0.9638, allocations: 8.16 MB / 1.001 GB, free: 13.93 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007291/0.9646, allocations: 51.95 kB / 1.001 GB, free: 13.88 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-05/0.9646, allocations: 19.98 kB / 1.001 GB, free: 13.86 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (47): * Single equations (assignments): 41 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005053/0.9651, allocations: 317 kB / 1.001 GB, free: 13.54 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.9653, allocations: 67.25 kB / 1.001 GB, free: 13.47 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001529/0.9654, allocations: 78.38 kB / 1.002 GB, free: 13.39 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.9654, allocations: 4 kB / 1.002 GB, free: 13.39 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.802e-05/0.9654, allocations: 11.89 kB / 1.002 GB, free: 13.38 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.872e-06/0.9655, allocations: 3.984 kB / 1.002 GB, free: 13.37 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000828/0.9663, allocations: 0.6455 MB / 1.002 GB, free: 12.68 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.9663, allocations: 7.984 kB / 1.002 GB, free: 12.67 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000466/0.9668, allocations: 91.92 kB / 1.002 GB, free: 12.58 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008798/0.9677, allocations: 264.8 kB / 1.003 GB, free: 12.3 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.461e-05/0.9677, allocations: 12 kB / 1.003 GB, free: 12.29 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006302/0.974, allocations: 8.408 MB / 1.011 GB, free: 3.078 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.9741, allocations: 3.938 kB / 1.011 GB, free: 3.074 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002162/0.9762, allocations: 0.96 MB / 1.012 GB, free: 2.078 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003254/0.9766, allocations: 184.2 kB / 1.012 GB, free: 1.879 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.01e-05/0.9767, allocations: 11.98 kB / 1.012 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004634/0.9771, allocations: 51.95 kB / 1.012 GB, free: 1.816 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/0.9773, allocations: 47.83 kB / 1.012 GB, free: 1.77 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.997e-05/0.9773, allocations: 8 kB / 1.012 GB, free: 1.762 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0005071/0.9778, allocations: 399.1 kB / 1.012 GB, free: 1.379 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9778, allocations: 0 / 1.012 GB, free: 1.379 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001253/0.9791, allocations: 300 kB / 1.013 GB, free: 1.086 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (31): * Single equations (assignments): 25 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002457/0.9793, allocations: 111.2 kB / 1.013 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.003894/0.9832, allocations: 2.414 MB / 1.015 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/0.9833, allocations: 4 kB / 1.015 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001295/0.9846, allocations: 1.027 MB / 1.016 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001161/0.9857, allocations: 208.9 kB / 1.016 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00263/0.9884, allocations: 1.588 MB / 1.018 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006172/0.989, allocations: 0.9859 MB / 1.019 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001893/0.9892, allocations: 47.42 kB / 1.019 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of SimCode: time 1.002e-06/0.9892, allocations: 0 / 1.019 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of Templates: time 0.03082/1.02, allocations: 26.94 MB / 1.045 GB, free: 15.52 MB / 0.8106 GB make -j1 -f Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile make -j1 -f Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLine.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.DCLineCalcHelperMain.o OMCppBuildings_9_Buildings.Electrical.DC.Lines.Examples.DCLineCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Electrical.DC.Lines.Examples.DCLineCalcHelperMain.o] Error 1