Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLine") translateModel(BuildingSystems.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0007629/0.0007628, allocations: 91.53 kB / 16.02 MB, free: 80 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.001048/0.001048, allocations: 178.2 kB / 16.92 MB, free: 6.652 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.381/1.381, allocations: 223.3 MB / 241 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001757/0.001757, allocations: 274.3 kB / 292.3 MB, free: 1.801 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9232/0.9232, allocations: 169.5 MB / 0.501 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004238/0.0004238, allocations: 17.34 kB / 0.5993 GB, free: 28.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1696, allocations: 88.54 MB / 0.6858 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.DCLine): time 0.006787/0.1764, allocations: 5.862 MB / 0.6915 GB, free: 9.188 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006999/0.1835, allocations: 4.457 MB / 0.6958 GB, free: 4.73 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005624/0.1841, allocations: 20.56 kB / 0.6959 GB, free: 4.711 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005325/0.1846, allocations: 146.9 kB / 0.696 GB, free: 4.566 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00211/0.1867, allocations: 0.7167 MB / 0.6967 GB, free: 3.852 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000795/0.1875, allocations: 287.6 kB / 0.697 GB, free: 3.57 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001539/0.1891, allocations: 1.451 MB / 0.6984 GB, free: 2.117 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006791/0.1898, allocations: 0.5299 MB / 0.6989 GB, free: 1.562 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005677/0.1904, allocations: 394.4 kB / 0.6993 GB, free: 1.176 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007433/0.1911, allocations: 478.1 kB / 0.6997 GB, free: 0.707 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.986e-05/0.1912, allocations: 39.94 kB / 0.6998 GB, free: 0.668 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006195/0.1918, allocations: 303.4 kB / 0.7001 GB, free: 380 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001973/0.192, allocations: 207.2 kB / 0.7003 GB, free: 172 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003545/0.1924, allocations: 387.7 kB / 0.7006 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007611/0.1932, allocations: 0.8143 MB / 0.7014 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.1932, allocations: 4 kB / 0.7014 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.694e-06/0.1932, allocations: 0 / 0.7014 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.027e-05/0.1932, allocations: 0 / 0.7014 GB, free: 14.96 MB / 0.4981 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.001665/0.1949, allocations: 0.9738 MB / 0.7024 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.1949, allocations: 16.02 kB / 0.7024 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003367/0.1983, allocations: 0.6436 MB / 0.703 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008852/0.1992, allocations: 0.5424 MB / 0.7036 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.121e-05/0.1992, allocations: 37.69 kB / 0.7036 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001719/0.1994, allocations: 64.11 kB / 0.7037 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002042/0.2015, allocations: 1.022 MB / 0.7047 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.2015, allocations: 3.938 kB / 0.7047 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.237e-05/0.2016, allocations: 24 kB / 0.7047 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.775e-05/0.2017, allocations: 45.28 kB / 0.7047 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002436/0.2041, allocations: 1.02 MB / 0.7057 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004384/0.2085, allocations: 3.51 MB / 0.7092 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001561/0.2101, allocations: 0.5255 MB / 0.7097 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005803/0.2107, allocations: 248.7 kB / 0.7099 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.826e-05/0.2107, allocations: 4 kB / 0.7099 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.2108, allocations: 34.56 kB / 0.7099 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 2.194e-06/0.2108, allocations: 0 / 0.7099 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.00734/0.2181, allocations: 2.229 MB / 0.7121 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.009e-05/0.2182, allocations: 55.41 kB / 0.7122 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000791/0.219, allocations: 0.5665 MB / 0.7127 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.618e-05/0.2191, allocations: 33.7 kB / 0.7128 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002796/0.2193, allocations: 360.2 kB / 0.7131 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002011/0.2195, allocations: 145.9 kB / 0.7132 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.164e-05/0.2196, allocations: 41.7 kB / 0.7133 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002953/0.2199, allocations: 378.7 kB / 0.7136 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006944/0.2206, allocations: 276.9 kB / 0.7139 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00075/0.2214, allocations: 389.7 kB / 0.7143 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001568/0.223, allocations: 0.6655 MB / 0.7149 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.223, allocations: 0 / 0.7149 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002554/0.2255, allocations: 0.9857 MB / 0.7159 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.000122/0.2257, allocations: 178.4 kB / 0.7161 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.2257, allocations: 4 kB / 0.7161 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00127/0.227, allocations: 280.8 kB / 0.7163 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006107/0.2276, allocations: 127.8 kB / 0.7165 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008043/0.2356, allocations: 8.476 MB / 0.7247 GB, free: 5.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00079/0.2365, allocations: 56.02 kB / 0.7248 GB, free: 5.535 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-05/0.2365, allocations: 20 kB / 0.7248 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.565e-06/0.2365, allocations: 0 / 0.7248 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002568/0.2391, allocations: 1.089 MB / 0.7259 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.769e-06/0.2391, allocations: 4 kB / 0.7259 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009131/0.2401, allocations: 229.3 kB / 0.7261 GB, free: 4.105 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006137/0.2407, allocations: 135.8 kB / 0.7262 GB, free: 3.973 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006073/0.2468, allocations: 8.168 MB / 0.7342 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006696/0.2475, allocations: 56.02 kB / 0.7342 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.871e-05/0.2475, allocations: 20 kB / 0.7343 GB, free: 10.93 MB / 0.5294 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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004301/0.248, allocations: 318.2 kB / 0.7346 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.2481, allocations: 67.16 kB / 0.7346 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001527/0.2482, allocations: 86.31 kB / 0.7347 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.2482, allocations: 8 kB / 0.7347 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.2483, allocations: 144 / 0.7347 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.2483, allocations: 7.969 kB / 0.7347 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007482/0.249, allocations: 0.6454 MB / 0.7354 GB, free: 9.746 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.249, allocations: 4 kB / 0.7354 GB, free: 9.742 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004942/0.2495, allocations: 103.8 kB / 0.7355 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009551/0.2505, allocations: 256.9 kB / 0.7357 GB, free: 9.371 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.434e-05/0.2505, allocations: 15.92 kB / 0.7357 GB, free: 9.355 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006477/0.257, allocations: 8.419 MB / 0.7439 GB, free: 140 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.2571, allocations: 8.016 kB / 0.744 GB, free: 132 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002364/0.2594, allocations: 0.96 MB / 0.7449 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002592/0.2597, allocations: 184.2 kB / 0.7451 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.901e-05/0.2598, allocations: 7.938 kB / 0.7451 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005009/0.2603, allocations: 59.94 kB / 0.7451 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/0.2604, allocations: 35.94 kB / 0.7452 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.279e-05/0.2605, allocations: 12 kB / 0.7452 GB, free: 14.82 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004546/0.2609, allocations: 403.1 kB / 0.7456 GB, free: 14.43 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2609, allocations: 4 kB / 0.7456 GB, free: 14.43 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00104/0.262, allocations: 296 kB / 0.7458 GB, free: 14.14 MB / 0.545 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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001345/0.2621, allocations: 107.2 kB / 0.746 GB, free: 14.03 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003726/0.2659, allocations: 2.428 MB / 0.7483 GB, free: 11.45 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.2659, allocations: 0 / 0.7483 GB, free: 11.45 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001354/0.2672, allocations: 1.027 MB / 0.7493 GB, free: 10.34 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.2683, allocations: 210.5 kB / 0.7495 GB, free: 10.14 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002499/0.2708, allocations: 1.668 MB / 0.7512 GB, free: 8.434 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005933/0.2714, allocations: 0.9781 MB / 0.7521 GB, free: 7.426 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001767/0.2716, allocations: 51.44 kB / 0.7522 GB, free: 7.375 MB / 0.545 GB Notification: Performance of SimCode: time 1.012e-06/0.2716, allocations: 4 kB / 0.7522 GB, free: 7.371 MB / 0.545 GB Notification: Performance of Templates: time 0.3328/0.6045, allocations: 26.91 MB / 0.7784 GB, free: 87.22 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLine.makefile make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLine.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.DCLineCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLineCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLineCalcHelperMain.o] Error 1