Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.0009483/0.0009483, allocations: 99.91 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.0009175/0.0009175, allocations: 180.2 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.459/1.459, allocations: 223.2 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.799/2.799, allocations: 436.7 MB / 0.7113 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003588/0.0003589, allocations: 8 kB / 0.8717 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8962/0.8966, allocations: 153.7 MB / 1.022 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.006748/0.9034, allocations: 5.604 MB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.006351/0.9098, allocations: 4.21 MB / 1.031 GB, free: 7.242 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006489/0.9105, allocations: 19.88 kB / 1.031 GB, free: 7.223 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000587/0.9111, allocations: 142.9 kB / 1.031 GB, free: 7.082 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001938/0.9131, allocations: 0.6216 MB / 1.032 GB, free: 6.457 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007747/0.9138, allocations: 250.5 kB / 1.032 GB, free: 6.215 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001509/0.9154, allocations: 1.195 MB / 1.033 GB, free: 5.016 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006847/0.9161, allocations: 492.1 kB / 1.034 GB, free: 4.504 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005344/0.9166, allocations: 382.4 kB / 1.034 GB, free: 4.129 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006846/0.9173, allocations: 466.2 kB / 1.035 GB, free: 3.672 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.013e-05/0.9174, allocations: 32 kB / 1.035 GB, free: 3.641 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004152/0.9178, allocations: 147.8 kB / 1.035 GB, free: 3.496 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001984/0.918, allocations: 207.2 kB / 1.035 GB, free: 3.293 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001496/0.9182, allocations: 165.3 kB / 1.035 GB, free: 3.125 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007731/0.9189, allocations: 0.8006 MB / 1.036 GB, free: 2.324 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.867e-06/0.919, allocations: 4 kB / 1.036 GB, free: 2.32 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.156e-06/0.919, allocations: 0 / 1.036 GB, free: 2.32 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.155e-05/0.919, allocations: 0 / 1.036 GB, free: 2.32 MB / 0.7794 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.00178/0.9208, allocations: 0.9815 MB / 1.037 GB, free: 1.289 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.113e-05/0.9208, allocations: 19.97 kB / 1.037 GB, free: 1.27 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002955/0.9238, allocations: 0.6465 MB / 1.038 GB, free: 0.6211 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000957/0.9248, allocations: 0.5221 MB / 1.038 GB, free: 60 kB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.349e-05/0.9248, allocations: 37.3 kB / 1.038 GB, free: 20 kB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/0.9249, allocations: 52.05 kB / 1.038 GB, free: 15.96 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002029/0.927, allocations: 1.018 MB / 1.039 GB, free: 14.91 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.927, allocations: 0 / 1.039 GB, free: 14.91 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.997e-05/0.9271, allocations: 27.98 kB / 1.039 GB, free: 14.88 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.828e-05/0.9272, allocations: 53.27 kB / 1.039 GB, free: 14.83 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002225/0.9294, allocations: 1.012 MB / 1.04 GB, free: 13.82 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004245/0.9337, allocations: 3.51 MB / 1.044 GB, free: 10 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001398/0.9351, allocations: 0.5278 MB / 1.044 GB, free: 9.465 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005212/0.9356, allocations: 240.7 kB / 1.044 GB, free: 9.227 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 4.09e-05/0.9357, allocations: 4 kB / 1.045 GB, free: 9.223 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/0.9357, allocations: 39.03 kB / 1.045 GB, free: 9.176 MB / 0.795 GB Notification: Performance of pre-optimization done (n=31): time 2.224e-06/0.9357, allocations: 0 / 1.045 GB, free: 9.176 MB / 0.795 GB Notification: Performance of matching and sorting (n=43): time 0.006685/0.9424, allocations: 2.227 MB / 1.047 GB, free: 6.902 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.261e-05/0.9425, allocations: 55.41 kB / 1.047 GB, free: 6.836 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007401/0.9433, allocations: 0.5549 MB / 1.047 GB, free: 6.273 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.58e-05/0.9433, allocations: 37.7 kB / 1.047 GB, free: 6.23 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002741/0.9436, allocations: 360.1 kB / 1.048 GB, free: 5.875 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001458/0.9438, allocations: 145.8 kB / 1.048 GB, free: 5.73 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.229e-05/0.9438, allocations: 16 kB / 1.048 GB, free: 5.715 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001855/0.944, allocations: 374.8 kB / 1.048 GB, free: 5.34 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006126/0.9446, allocations: 268.9 kB / 1.048 GB, free: 5.078 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000699/0.9453, allocations: 389.7 kB / 1.049 GB, free: 4.652 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006791/0.946, allocations: 309.6 kB / 1.049 GB, free: 4.352 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.946, allocations: 0 / 1.049 GB, free: 4.352 MB / 0.795 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002305/0.9483, allocations: 0.9669 MB / 1.05 GB, free: 3.359 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001529/0.9485, allocations: 192.1 kB / 1.05 GB, free: 3.125 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.9485, allocations: 0 / 1.05 GB, free: 3.125 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001081/0.9496, allocations: 272.9 kB / 1.051 GB, free: 2.84 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005934/0.9502, allocations: 135.8 kB / 1.051 GB, free: 2.707 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007779/0.958, allocations: 8.465 MB / 1.059 GB, free: 9.449 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007723/0.9588, allocations: 63.94 kB / 1.059 GB, free: 9.387 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.429e-05/0.9589, allocations: 16 kB / 1.059 GB, free: 9.371 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.257e-06/0.9589, allocations: 4 kB / 1.059 GB, free: 9.367 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002445/0.9613, allocations: 1.086 MB / 1.06 GB, free: 8.207 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.9614, allocations: 4.031 kB / 1.06 GB, free: 8.203 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007477/0.9621, allocations: 221 kB / 1.06 GB, free: 7.969 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005695/0.9627, allocations: 139.8 kB / 1.06 GB, free: 7.832 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006707/0.9694, allocations: 8.149 MB / 1.068 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000761/0.9702, allocations: 56.02 kB / 1.068 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.074e-05/0.9703, allocations: 16 kB / 1.068 GB, free: 14.81 MB / 0.8262 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.0005784/0.9709, allocations: 320.9 kB / 1.069 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002014/0.9711, allocations: 75.11 kB / 1.069 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002032/0.9713, allocations: 78.38 kB / 1.069 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.9714, allocations: 4 kB / 1.069 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.507e-05/0.9714, allocations: 0 / 1.069 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.9714, allocations: 11.92 kB / 1.069 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/0.9725, allocations: 0.6455 MB / 1.07 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.926e-06/0.9726, allocations: 0 / 1.07 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000502/0.9731, allocations: 103.8 kB / 1.07 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009711/0.9741, allocations: 261 kB / 1.07 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.823e-05/0.9741, allocations: 11.98 kB / 1.07 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007043/0.9812, allocations: 8.4 MB / 1.078 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-06/0.9812, allocations: 3.953 kB / 1.078 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00239/0.9836, allocations: 0.9677 MB / 1.079 GB, free: 3.027 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004263/0.9841, allocations: 180.3 kB / 1.079 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001415/0.9842, allocations: 4 kB / 1.079 GB, free: 2.828 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005238/0.9848, allocations: 59.94 kB / 1.079 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001526/0.9849, allocations: 35.94 kB / 1.079 GB, free: 2.734 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.64e-05/0.985, allocations: 16 kB / 1.079 GB, free: 2.719 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0006219/0.9856, allocations: 399.1 kB / 1.08 GB, free: 2.336 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.5e-07/0.9856, allocations: 0 / 1.08 GB, free: 2.336 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001326/0.9869, allocations: 300 kB / 1.08 GB, free: 2.043 MB / 0.8262 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.0002063/0.9872, allocations: 107.2 kB / 1.08 GB, free: 1.93 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.004092/0.9913, allocations: 2.422 MB / 1.082 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.9913, allocations: 0 / 1.082 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001418/0.9927, allocations: 1.024 MB / 1.083 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/0.9939, allocations: 216.4 kB / 1.084 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003053/0.997, allocations: 1.591 MB / 1.085 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007421/0.9977, allocations: 0.9859 MB / 1.086 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002219/0.998, allocations: 51.42 kB / 1.086 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of SimCode: time 1.663e-06/0.998, allocations: 0 / 1.086 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of Templates: time 0.03369/1.032, allocations: 26.94 MB / 1.113 GB, free: 468 kB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile make -j1 -f Buildings_latest_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_latest_Buildings.Electrical.DC.Lines.Examples.DCLineCalcHelperMain.o OMCppBuildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLineCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLineCalcHelperMain.o] Error 1