Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001161/0.001161, allocations: 99.12 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.001446/0.001446, allocations: 178.1 kB / 16.58 MB, free: 6.879 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.984/1.984, allocations: 205.4 MB / 222.7 MB, free: 5.879 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.817/1.817, allocations: 292.7 MB / 0.5505 GB, free: 14.58 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005374/0.0005375, allocations: 12.56 kB / 0.6743 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.3055, allocations: 116.3 MB / 0.7879 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.007396/0.313, allocations: 5.546 MB / 0.7933 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.007294/0.3203, allocations: 4.249 MB / 0.7975 GB, free: 2.152 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006895/0.3211, allocations: 19.88 kB / 0.7975 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005309/0.3216, allocations: 142.9 kB / 0.7976 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00207/0.3237, allocations: 0.6248 MB / 0.7983 GB, free: 1.367 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007859/0.3245, allocations: 250.5 kB / 0.7985 GB, free: 1.125 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001622/0.3261, allocations: 1.187 MB / 0.7997 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007157/0.3269, allocations: 496.1 kB / 0.8001 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006478/0.3275, allocations: 378.5 kB / 0.8005 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008441/0.3284, allocations: 466.2 kB / 0.8009 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 9.348e-05/0.3285, allocations: 32 kB / 0.801 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004332/0.3289, allocations: 147.8 kB / 0.8011 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002065/0.3291, allocations: 203.3 kB / 0.8013 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001667/0.3293, allocations: 165.3 kB / 0.8015 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0008523/0.3302, allocations: 0.8144 MB / 0.8023 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.3302, allocations: 0 / 0.8023 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.754e-06/0.3302, allocations: 4 kB / 0.8023 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.278e-06/0.3302, allocations: 4 kB / 0.8023 GB, free: 13.22 MB / 0.6231 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.001754/0.332, allocations: 0.9698 MB / 0.8032 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 6.132e-05/0.3321, allocations: 8.031 kB / 0.8032 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002922/0.335, allocations: 0.6506 MB / 0.8038 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001131/0.3361, allocations: 0.5337 MB / 0.8044 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.503e-05/0.3362, allocations: 37.3 kB / 0.8044 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001187/0.3363, allocations: 52 kB / 0.8045 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001966/0.3383, allocations: 1.018 MB / 0.8054 GB, free: 9.816 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.3383, allocations: 4 kB / 0.8055 GB, free: 9.812 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.189e-05/0.3384, allocations: 27.98 kB / 0.8055 GB, free: 9.785 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.854e-05/0.3385, allocations: 41.3 kB / 0.8055 GB, free: 9.742 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002259/0.3408, allocations: 1.016 MB / 0.8065 GB, free: 8.727 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004487/0.3453, allocations: 3.521 MB / 0.8099 GB, free: 4.902 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001376/0.3467, allocations: 0.5144 MB / 0.8105 GB, free: 4.379 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005331/0.3472, allocations: 244.7 kB / 0.8107 GB, free: 4.137 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.725e-05/0.3473, allocations: 12.5 kB / 0.8107 GB, free: 4.125 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.612e-05/0.3473, allocations: 34.56 kB / 0.8107 GB, free: 4.082 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=31): time 2.876e-06/0.3473, allocations: 3.938 kB / 0.8107 GB, free: 4.078 MB / 0.6231 GB Notification: Performance of matching and sorting (n=43): time 0.00661/0.3539, allocations: 2.22 MB / 0.8129 GB, free: 1.812 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.06e-05/0.354, allocations: 59.34 kB / 0.813 GB, free: 1.742 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007194/0.3547, allocations: 0.5588 MB / 0.8135 GB, free: 1.176 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.096e-05/0.3548, allocations: 37.7 kB / 0.8135 GB, free: 1.133 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000257/0.3551, allocations: 360.2 kB / 0.8139 GB, free: 0.7773 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001368/0.3552, allocations: 145.8 kB / 0.814 GB, free: 0.6328 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.358e-05/0.3552, allocations: 12 kB / 0.814 GB, free: 0.6211 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001856/0.3554, allocations: 374.7 kB / 0.8144 GB, free: 252 kB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006562/0.3561, allocations: 273 kB / 0.8147 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006962/0.3568, allocations: 385.8 kB / 0.815 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006783/0.3575, allocations: 305.7 kB / 0.8153 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.3575, allocations: 4 kB / 0.8153 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002315/0.3598, allocations: 0.982 MB / 0.8163 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001419/0.36, allocations: 180.5 kB / 0.8164 GB, free: 14.03 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.813e-05/0.36, allocations: 4 kB / 0.8164 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001081/0.3611, allocations: 284.8 kB / 0.8167 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005912/0.3617, allocations: 123.8 kB / 0.8168 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007676/0.3694, allocations: 8.458 MB / 0.8251 GB, free: 4.352 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007343/0.3702, allocations: 51.95 kB / 0.8251 GB, free: 4.301 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.55e-05/0.3703, allocations: 19.98 kB / 0.8252 GB, free: 4.281 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.3703, allocations: 4 kB / 0.8252 GB, free: 4.277 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002339/0.3726, allocations: 1.082 MB / 0.8262 GB, free: 3.121 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.3726, allocations: 3.938 kB / 0.8262 GB, free: 3.117 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007288/0.3734, allocations: 229.4 kB / 0.8265 GB, free: 2.875 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005596/0.3739, allocations: 135.8 kB / 0.8266 GB, free: 2.742 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006869/0.3808, allocations: 8.16 MB / 0.8345 GB, free: 9.777 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007049/0.3816, allocations: 55.94 kB / 0.8346 GB, free: 9.723 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.38e-05/0.3817, allocations: 16 kB / 0.8346 GB, free: 9.707 MB / 0.6544 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.0005596/0.3822, allocations: 313 kB / 0.8349 GB, free: 9.391 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001804/0.3824, allocations: 67.25 kB / 0.835 GB, free: 9.324 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001949/0.3826, allocations: 82.36 kB / 0.8351 GB, free: 9.238 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.3826, allocations: 4 kB / 0.8351 GB, free: 9.234 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.326e-05/0.3826, allocations: 0 / 0.8351 GB, free: 9.234 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.3827, allocations: 4 kB / 0.8351 GB, free: 9.23 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001032/0.3837, allocations: 0.6454 MB / 0.8357 GB, free: 8.539 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/0.3837, allocations: 0 / 0.8357 GB, free: 8.539 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005177/0.3842, allocations: 104 kB / 0.8358 GB, free: 8.438 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009654/0.3852, allocations: 264.8 kB / 0.836 GB, free: 8.16 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.741e-05/0.3853, allocations: 8 kB / 0.8361 GB, free: 8.152 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007365/0.3926, allocations: 8.42 MB / 0.8443 GB, free: 14.94 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3927, allocations: 0 / 0.8443 GB, free: 14.94 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002306/0.395, allocations: 0.96 MB / 0.8452 GB, free: 13.94 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00038/0.3954, allocations: 180.3 kB / 0.8454 GB, free: 13.75 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001237/0.3955, allocations: 4 kB / 0.8454 GB, free: 13.74 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005161/0.3961, allocations: 59.84 kB / 0.8454 GB, free: 13.68 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001426/0.3962, allocations: 43.89 kB / 0.8455 GB, free: 13.64 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.713e-05/0.3963, allocations: 12 kB / 0.8455 GB, free: 13.63 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005987/0.3969, allocations: 399.1 kB / 0.8459 GB, free: 13.25 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.41e-07/0.3969, allocations: 7.938 kB / 0.8459 GB, free: 13.24 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001513/0.3984, allocations: 300 kB / 0.8462 GB, free: 12.95 MB / 0.67 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.0002081/0.3986, allocations: 103.2 kB / 0.8463 GB, free: 12.83 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004207/0.4028, allocations: 2.414 MB / 0.8486 GB, free: 10.26 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.4029, allocations: 0 / 0.8486 GB, free: 10.26 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001453/0.4043, allocations: 1.023 MB / 0.8496 GB, free: 9.16 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/0.4055, allocations: 210.3 kB / 0.8498 GB, free: 8.953 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003138/0.4086, allocations: 1.588 MB / 0.8514 GB, free: 7.344 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007394/0.4094, allocations: 0.9859 MB / 0.8523 GB, free: 6.332 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002038/0.4096, allocations: 51.42 kB / 0.8524 GB, free: 6.281 MB / 0.67 GB Notification: Performance of SimCode: time 9.22e-07/0.4096, allocations: 0 / 0.8524 GB, free: 6.281 MB / 0.67 GB Notification: Performance of Templates: time 0.03404/0.4437, allocations: 26.94 MB / 0.8787 GB, free: 11.38 MB / 0.7012 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile make -j1 -f Buildings_8_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_8_Buildings.Electrical.DC.Lines.Examples.DCLineCalcHelperMain.o OMCppBuildings_8_Buildings.Electrical.DC.Lines.Examples.DCLineCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Electrical.DC.Lines.Examples.DCLineCalcHelperMain.o] Error 1