Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLines.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLines") translateModel(IBPSA.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000944/0.000944, allocations: 92.73 kB / 16.33 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009577/0.0009577, allocations: 184.6 kB / 17.23 MB, free: 5.887 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.464/1.464, allocations: 223.3 MB / 241.2 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.009/1.009, allocations: 114.3 MB / 406.7 MB, free: 3.926 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003281/0.0003281, allocations: 8 kB / 494.5 MB, free: 7.977 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1807/0.1811, allocations: 77.27 MB / 0.5583 GB, free: 10.91 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLines): time 0.02221/0.2033, allocations: 20.4 MB / 0.5782 GB, free: 6.457 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.4096/0.613, allocations: 16.39 MB / 0.5942 GB, free: 10.82 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005335/0.6184, allocations: 99.44 kB / 0.5943 GB, free: 10.82 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00355/0.622, allocations: 0.5607 MB / 0.5949 GB, free: 10.82 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01748/0.6395, allocations: 2.857 MB / 0.5977 GB, free: 9.93 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005192/0.6447, allocations: 0.9534 MB / 0.5986 GB, free: 9.891 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01468/0.6594, allocations: 5.773 MB / 0.6042 GB, free: 8.777 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006948/0.6664, allocations: 2.026 MB / 0.6062 GB, free: 8.359 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006081/0.6725, allocations: 1.869 MB / 0.608 GB, free: 7.941 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006897/0.6795, allocations: 2.162 MB / 0.6102 GB, free: 7.539 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001465/0.681, allocations: 167.7 kB / 0.6103 GB, free: 7.535 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003836/0.6848, allocations: 498.8 kB / 0.6108 GB, free: 7.5 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001657/0.6865, allocations: 0.9242 MB / 0.6117 GB, free: 7.281 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002275/0.6888, allocations: 0.6901 MB / 0.6124 GB, free: 6.914 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006168/0.695, allocations: 3.823 MB / 0.6161 GB, free: 4.602 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.658e-06/0.695, allocations: 1.062 kB / 0.6161 GB, free: 4.602 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.847e-06/0.695, allocations: 0 / 0.6161 GB, free: 4.602 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001987/0.6952, allocations: 0 / 0.6161 GB, free: 4.602 MB / 446.1 MB 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.01106/0.7063, allocations: 3.886 MB / 0.6199 GB, free: 1.965 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.732e-05/0.7064, allocations: 13.08 kB / 0.6199 GB, free: 1.961 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01654/0.7229, allocations: 3.362 MB / 0.6232 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006545/0.7295, allocations: 1.963 MB / 0.6251 GB, free: 15.15 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002796/0.7299, allocations: 179.5 kB / 0.6253 GB, free: 15.07 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008641/0.7307, allocations: 234 kB / 0.6255 GB, free: 15 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01217/0.7429, allocations: 4.723 MB / 0.6301 GB, free: 12.25 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.686e-05/0.743, allocations: 3.938 kB / 0.6301 GB, free: 12.25 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003434/0.7434, allocations: 108.9 kB / 0.6302 GB, free: 12.18 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002317/0.7436, allocations: 170.2 kB / 0.6304 GB, free: 12.14 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01331/0.7569, allocations: 5.226 MB / 0.6355 GB, free: 7.078 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02541/0.7824, allocations: 14.11 MB / 0.6493 GB, free: 7.895 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01094/0.7934, allocations: 3.856 MB / 0.653 GB, free: 4.031 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003564/0.797, allocations: 1.502 MB / 0.6545 GB, free: 2.531 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001381/0.7972, allocations: 34.38 kB / 0.6545 GB, free: 2.504 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004036/0.8012, allocations: 1.812 MB / 0.6563 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of pre-optimization done (n=163): time 4.479e-06/0.8013, allocations: 0 / 0.6563 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of matching and sorting (n=250): time 0.1148/0.916, allocations: 33.41 MB / 0.6889 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003369/0.9164, allocations: 0.4928 MB / 0.6894 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003914/0.9203, allocations: 2.273 MB / 0.6916 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0005187/0.9209, allocations: 77.7 kB / 0.6917 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001406/0.9223, allocations: 1.44 MB / 0.6931 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001099/0.9234, allocations: 0.8156 MB / 0.6939 GB, free: 9.789 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001761/0.9236, allocations: 48 kB / 0.694 GB, free: 9.742 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000204/0.9238, allocations: 396.4 kB / 0.6943 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004487/0.9283, allocations: 1.925 MB / 0.6962 GB, free: 7.422 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004736/0.9331, allocations: 2.216 MB / 0.6984 GB, free: 5.121 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004774/0.9379, allocations: 2.132 MB / 0.7005 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.064e-05/0.9379, allocations: 4 kB / 0.7005 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01511/0.953, allocations: 6.161 MB / 0.7065 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003284/0.9534, allocations: 403.6 kB / 0.7069 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.728e-05/0.9534, allocations: 8 kB / 0.7069 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006098/0.9595, allocations: 1.85 MB / 0.7087 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002922/0.9625, allocations: 0.5891 MB / 0.7093 GB, free: 9.727 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02362/0.9861, allocations: 14.15 MB / 0.7231 GB, free: 11.35 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00439/0.9905, allocations: 403.6 kB / 0.7235 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006312/0.9912, allocations: 91.97 kB / 0.7235 GB, free: 10.87 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.9912, allocations: 4 kB / 0.7235 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01522/1.006, allocations: 5.756 MB / 0.7292 GB, free: 5.031 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.348e-05/1.007, allocations: 4 kB / 0.7292 GB, free: 5.027 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005117/1.012, allocations: 1.824 MB / 0.731 GB, free: 3.199 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003055/1.015, allocations: 0.6046 MB / 0.7315 GB, free: 2.594 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02245/1.037, allocations: 13.43 MB / 0.7447 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004178/1.041, allocations: 415.5 kB / 0.7451 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005274/1.042, allocations: 87.98 kB / 0.7451 GB, free: 4.406 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.varLoad1.T_start,varLoad1.T_start,$PRE.varLoad1.count,varLoad1.count,$PRE.varLoad2.T_start,varLoad2.T_start,$PRE.varLoad2.count,varLoad2.count,$PRE.varLoad3.T_start,varLoad3.T_start,$PRE.varLoad3.count,varLoad3.count,$PRE.varLoad4.T_start,varLoad4.T_start,$PRE.varLoad4.count,varLoad4.count,$PRE.varLoad5.T_start,varLoad5.T_start,$PRE.varLoad5.count,varLoad5.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (172): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,45.0%) 52} * Non-linear torn systems: 1 {10 52} Notification: Performance of prepare postOptimizeDAE: time 0.002086/1.044, allocations: 0.7807 MB / 0.7459 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008558/1.045, allocations: 336 kB / 0.7462 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009478/1.046, allocations: 392.1 kB / 0.7466 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.336e-05/1.046, allocations: 24 kB / 0.7466 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.171e-05/1.046, allocations: 12 kB / 0.7466 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.368e-05/1.046, allocations: 15.91 kB / 0.7466 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004951/1.051, allocations: 3.166 MB / 0.7497 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-05/1.051, allocations: 0 / 0.7497 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002448/1.053, allocations: 0.515 MB / 0.7502 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005604/1.059, allocations: 1.717 MB / 0.7519 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003615/1.059, allocations: 47.98 kB / 0.752 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02124/1.081, allocations: 13.94 MB / 0.7656 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/1.081, allocations: 0 / 0.7656 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01548/1.096, allocations: 5.78 MB / 0.7712 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002202/1.099, allocations: 0.6648 MB / 0.7719 GB, free: 8.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005708/1.099, allocations: 47.95 kB / 0.7719 GB, free: 8.633 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002738/1.102, allocations: 403.6 kB / 0.7723 GB, free: 8.238 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009091/1.103, allocations: 306.6 kB / 0.7726 GB, free: 7.941 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001839/1.103, allocations: 71.97 kB / 0.7727 GB, free: 7.871 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002178/1.105, allocations: 1.505 MB / 0.7741 GB, free: 6.367 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.3e-07/1.105, allocations: 4 kB / 0.7741 GB, free: 6.363 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.004744/1.11, allocations: 1.625 MB / 0.7757 GB, free: 4.738 MB / 0.5919 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 (128): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,60.0%) 52} * Non-linear torn systems: 1 {10 52} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003609/1.11, allocations: 167 kB / 0.7759 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.02332/1.134, allocations: 10.07 MB / 0.7857 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.048e-05/1.134, allocations: 0 / 0.7857 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.008324/1.142, allocations: 3.482 MB / 0.7891 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005786/1.148, allocations: 1.05 MB / 0.7901 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01498/1.163, allocations: 7.77 MB / 0.7977 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002489/1.165, allocations: 2.305 MB / 0.8 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001284/1.167, allocations: 203.4 kB / 0.8002 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of SimCode: time 2.846e-06/1.167, allocations: 0 / 0.8002 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of Templates: time 0.4696/1.636, allocations: 79.7 MB / 0.878 GB, free: 190.3 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLines.makefile make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLines.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 OMCppIBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesCalcHelperMain.o] Error 1