Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine") translateModel(IBPSA.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0008837/0.0008837, allocations: 93.45 kB / 16.33 MB, free: 5.562 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.001094/0.001094, allocations: 187.2 kB / 17.23 MB, free: 5.477 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.448/1.448, allocations: 223.2 MB / 241.2 MB, free: 296 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8348/0.8348, allocations: 114.3 MB / 406.7 MB, free: 8.18 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004929/0.000493, allocations: 8 kB / 494.4 MB, free: 1.449 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4717/0.4722, allocations: 77.25 MB / 0.5583 GB, free: 36.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLine): time 0.006237/0.4785, allocations: 5.565 MB / 0.5637 GB, free: 33.05 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006393/0.4849, allocations: 4.219 MB / 0.5679 GB, free: 30.2 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006974/0.4856, allocations: 21.69 kB / 0.5679 GB, free: 30.2 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005245/0.4862, allocations: 146.7 kB / 0.568 GB, free: 30.11 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001971/0.4882, allocations: 0.618 MB / 0.5686 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008733/0.489, allocations: 247.7 kB / 0.5689 GB, free: 29.66 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001642/0.4907, allocations: 1.199 MB / 0.57 GB, free: 29.15 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00072/0.4914, allocations: 489 kB / 0.5705 GB, free: 28.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006078/0.492, allocations: 386.5 kB / 0.5709 GB, free: 28.78 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007669/0.4928, allocations: 455 kB / 0.5713 GB, free: 28.62 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.761e-05/0.4929, allocations: 38.38 kB / 0.5713 GB, free: 28.61 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004528/0.4934, allocations: 151.2 kB / 0.5715 GB, free: 28.57 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002357/0.4936, allocations: 199.1 kB / 0.5717 GB, free: 28.5 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001687/0.4938, allocations: 163.9 kB / 0.5718 GB, free: 28.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001234/0.495, allocations: 0.8168 MB / 0.5726 GB, free: 28.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.4951, allocations: 0 / 0.5726 GB, free: 28.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4951, allocations: 0 / 0.5726 GB, free: 28.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.455e-05/0.4951, allocations: 1.656 kB / 0.5726 GB, free: 28.21 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.00177/0.4969, allocations: 0.9845 MB / 0.5736 GB, free: 27.53 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.4969, allocations: 14.81 kB / 0.5736 GB, free: 27.52 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003206/0.5001, allocations: 0.65 MB / 0.5742 GB, free: 27.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009392/0.5011, allocations: 0.5278 MB / 0.5747 GB, free: 27.1 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.85e-05/0.5011, allocations: 38.31 kB / 0.5748 GB, free: 27.08 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.933e-05/0.5012, allocations: 49.58 kB / 0.5748 GB, free: 27.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002148/0.5034, allocations: 1.018 MB / 0.5758 GB, free: 26.65 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.5034, allocations: 1.922 kB / 0.5758 GB, free: 26.65 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-05/0.5035, allocations: 22.5 kB / 0.5758 GB, free: 26.64 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.874e-05/0.5036, allocations: 46.7 kB / 0.5759 GB, free: 26.63 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002503/0.5061, allocations: 1.014 MB / 0.5769 GB, free: 26.34 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004966/0.5111, allocations: 3.526 MB / 0.5803 GB, free: 23.6 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001587/0.5127, allocations: 0.5106 MB / 0.5808 GB, free: 23.45 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005645/0.5133, allocations: 252.6 kB / 0.5811 GB, free: 23.37 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.579e-05/0.5133, allocations: 6.484 kB / 0.5811 GB, free: 23.36 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.5133, allocations: 38.56 kB / 0.5811 GB, free: 23.32 MB / 446.1 MB Notification: Performance of pre-optimization done (n=31): time 2.665e-06/0.5134, allocations: 0 / 0.5811 GB, free: 23.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=43): time 0.007182/0.5205, allocations: 2.219 MB / 0.5833 GB, free: 22.58 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.5206, allocations: 57.38 kB / 0.5833 GB, free: 22.52 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009481/0.5216, allocations: 0.5672 MB / 0.5839 GB, free: 22.25 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.996e-05/0.5216, allocations: 32.17 kB / 0.5839 GB, free: 22.21 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000263/0.5219, allocations: 349.9 kB / 0.5842 GB, free: 21.94 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001536/0.522, allocations: 149.4 kB / 0.5844 GB, free: 21.82 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.047e-05/0.5221, allocations: 10.31 kB / 0.5844 GB, free: 21.81 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.5222, allocations: 378.7 kB / 0.5848 GB, free: 21.46 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006395/0.5229, allocations: 273.7 kB / 0.585 GB, free: 21.34 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006891/0.5236, allocations: 378.7 kB / 0.5854 GB, free: 21.08 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007157/0.5243, allocations: 312.5 kB / 0.5857 GB, free: 20.94 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.5243, allocations: 0.9688 kB / 0.5857 GB, free: 20.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002397/0.5267, allocations: 0.9758 MB / 0.5866 GB, free: 20.41 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001089/0.5268, allocations: 185.9 kB / 0.5868 GB, free: 20.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.5268, allocations: 7.266 kB / 0.5868 GB, free: 20.19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001058/0.5279, allocations: 274 kB / 0.5871 GB, free: 20.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006247/0.5285, allocations: 131.8 kB / 0.5872 GB, free: 19.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005936/0.5345, allocations: 8.467 MB / 0.5955 GB, free: 11.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007992/0.5353, allocations: 61 kB / 0.5955 GB, free: 11.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.626e-05/0.5354, allocations: 18.56 kB / 0.5955 GB, free: 11.46 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.5354, allocations: 3.344 kB / 0.5956 GB, free: 11.46 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002318/0.5377, allocations: 1.082 MB / 0.5966 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.5377, allocations: 3.062 kB / 0.5966 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000688/0.5384, allocations: 223.2 kB / 0.5968 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005928/0.539, allocations: 135.9 kB / 0.597 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004547/0.5436, allocations: 8.156 MB / 0.6049 GB, free: 2.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007424/0.5443, allocations: 55.8 kB / 0.605 GB, free: 2.207 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-05/0.5444, allocations: 22.73 kB / 0.605 GB, free: 2.199 MB / 446.1 MB 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.0005171/0.5449, allocations: 309.1 kB / 0.6053 GB, free: 1.938 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001804/0.5451, allocations: 76.84 kB / 0.6054 GB, free: 1.895 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001862/0.5453, allocations: 87.3 kB / 0.6054 GB, free: 1.824 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.5453, allocations: 8.406 kB / 0.6055 GB, free: 1.82 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.687e-05/0.5454, allocations: 2.25 kB / 0.6055 GB, free: 1.82 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.5454, allocations: 3.984 kB / 0.6055 GB, free: 1.816 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00109/0.5465, allocations: 0.6388 MB / 0.6061 GB, free: 1.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.5465, allocations: 0 / 0.6061 GB, free: 1.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004894/0.547, allocations: 98.28 kB / 0.6062 GB, free: 1.293 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009142/0.5479, allocations: 260.6 kB / 0.6064 GB, free: 1.137 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.458e-05/0.5479, allocations: 18.22 kB / 0.6064 GB, free: 1.121 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007405/0.5554, allocations: 8.423 MB / 0.6147 GB, free: 7.996 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.5554, allocations: 0 / 0.6147 GB, free: 7.996 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002376/0.5578, allocations: 0.9562 MB / 0.6156 GB, free: 7.004 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004309/0.5582, allocations: 180.2 kB / 0.6158 GB, free: 6.809 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001562/0.5584, allocations: 12 kB / 0.6158 GB, free: 6.797 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005201/0.5589, allocations: 51.94 kB / 0.6158 GB, free: 6.746 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001405/0.5591, allocations: 43.88 kB / 0.6159 GB, free: 6.703 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.409e-05/0.5591, allocations: 12 kB / 0.6159 GB, free: 6.691 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005943/0.5597, allocations: 399.1 kB / 0.6163 GB, free: 6.309 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5597, allocations: 0 / 0.6163 GB, free: 6.309 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001432/0.5612, allocations: 300 kB / 0.6166 GB, free: 6.016 MB / 462.1 MB 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.0001754/0.5613, allocations: 107.2 kB / 0.6167 GB, free: 5.898 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00397/0.5653, allocations: 2.416 MB / 0.619 GB, free: 3.328 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.5653, allocations: 0 / 0.619 GB, free: 3.328 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001401/0.5668, allocations: 1.031 MB / 0.62 GB, free: 2.219 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/0.5679, allocations: 215.8 kB / 0.6202 GB, free: 2.012 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002895/0.5708, allocations: 1.593 MB / 0.6218 GB, free: 396 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006831/0.5715, allocations: 0.9821 MB / 0.6227 GB, free: 15.38 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001892/0.5717, allocations: 47.42 kB / 0.6228 GB, free: 15.33 MB / 478.1 MB Notification: Performance of SimCode: time 6.51e-07/0.5717, allocations: 4 kB / 0.6228 GB, free: 15.33 MB / 478.1 MB Notification: Performance of Templates: time 0.03398/0.6057, allocations: 26.92 MB / 0.6491 GB, free: 4.453 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.makefile make -j1 -f IBPSA_latest_IBPSA.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 OMCppIBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLineCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLineCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLineCalcHelperMain.o] Error 1