Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.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.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 94.86 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.001592/0.001592, allocations: 187.9 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.501/1.501, allocations: 223.3 MB / 241.2 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7757/0.7757, allocations: 114.3 MB / 406.7 MB, free: 3.918 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003412/0.0003414, allocations: 11.98 kB / 494.5 MB, free: 7.996 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1732, allocations: 77.28 MB / 0.5583 GB, free: 10.93 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02407/0.1973, allocations: 20.42 MB / 0.5783 GB, free: 6.457 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.4625/0.6599, allocations: 16.38 MB / 0.5943 GB, free: 10.82 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004126/0.6641, allocations: 103.8 kB / 0.5944 GB, free: 10.82 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002707/0.6669, allocations: 0.5618 MB / 0.5949 GB, free: 10.82 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01238/0.6793, allocations: 2.865 MB / 0.5977 GB, free: 9.934 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004351/0.6836, allocations: 0.9501 MB / 0.5986 GB, free: 9.895 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0128/0.6964, allocations: 5.934 MB / 0.6044 GB, free: 8.785 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006334/0.7028, allocations: 2.068 MB / 0.6064 GB, free: 8.371 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005643/0.7085, allocations: 1.97 MB / 0.6084 GB, free: 7.945 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006851/0.7154, allocations: 2.214 MB / 0.6105 GB, free: 7.535 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001972/0.7174, allocations: 179.1 kB / 0.6107 GB, free: 7.531 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004537/0.722, allocations: 0.4989 MB / 0.6112 GB, free: 7.496 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003046/0.725, allocations: 0.9517 MB / 0.6121 GB, free: 7.156 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003119/0.7282, allocations: 0.6893 MB / 0.6128 GB, free: 6.793 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007273/0.7355, allocations: 3.935 MB / 0.6166 GB, free: 4.219 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.105e-05/0.7355, allocations: 5.25 kB / 0.6166 GB, free: 4.215 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.7355, allocations: 2.297 kB / 0.6166 GB, free: 4.215 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002979/0.7358, allocations: 0 / 0.6166 GB, free: 4.215 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.01258/0.7484, allocations: 4.108 MB / 0.6207 GB, free: 1.496 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/0.7485, allocations: 13.36 kB / 0.6207 GB, free: 1.492 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01539/0.7639, allocations: 3.367 MB / 0.624 GB, free: 28 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005823/0.7698, allocations: 1.991 MB / 0.6259 GB, free: 14.67 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005049/0.7703, allocations: 470 kB / 0.6263 GB, free: 14.26 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008791/0.7712, allocations: 231.2 kB / 0.6266 GB, free: 14.19 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01189/0.7831, allocations: 4.848 MB / 0.6313 GB, free: 11.32 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.995e-05/0.7832, allocations: 3.938 kB / 0.6313 GB, free: 11.31 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003564/0.7835, allocations: 115.1 kB / 0.6314 GB, free: 11.21 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002042/0.7837, allocations: 176.8 kB / 0.6316 GB, free: 11.03 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01298/0.7967, allocations: 5.288 MB / 0.6368 GB, free: 5.727 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02459/0.8214, allocations: 14.59 MB / 0.651 GB, free: 6.059 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01034/0.8317, allocations: 3.67 MB / 0.6546 GB, free: 2.379 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003704/0.8355, allocations: 1.591 MB / 0.6561 GB, free: 0.793 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001474/0.8357, allocations: 27.39 kB / 0.6562 GB, free: 0.7734 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004088/0.8398, allocations: 1.922 MB / 0.658 GB, free: 14.79 MB / 494.1 MB Notification: Performance of pre-optimization done (n=163): time 4.047e-06/0.8398, allocations: 0 / 0.658 GB, free: 14.79 MB / 494.1 MB Notification: Performance of matching and sorting (n=250): time 0.1218/0.9616, allocations: 34.1 MB / 0.6913 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003811/0.9621, allocations: 0.4917 MB / 0.6918 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003818/0.9659, allocations: 2.273 MB / 0.694 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0005308/0.9664, allocations: 81.69 kB / 0.6941 GB, free: 9.52 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001479/0.9679, allocations: 1.437 MB / 0.6955 GB, free: 8.07 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001081/0.969, allocations: 0.8117 MB / 0.6963 GB, free: 7.266 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001975/0.9692, allocations: 48 kB / 0.6964 GB, free: 7.219 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002264/0.9695, allocations: 398.7 kB / 0.6967 GB, free: 6.824 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005035/0.9745, allocations: 2.108 MB / 0.6988 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005323/0.9798, allocations: 2.407 MB / 0.7011 GB, free: 2.219 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005222/0.9851, allocations: 2.296 MB / 0.7034 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/0.9851, allocations: 0 / 0.7034 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01783/1.003, allocations: 6.883 MB / 0.7101 GB, free: 8.902 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000145/1.003, allocations: 153.7 kB / 0.7103 GB, free: 8.723 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/1.003, allocations: 4 kB / 0.7103 GB, free: 8.719 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009382/1.013, allocations: 2.942 MB / 0.7131 GB, free: 5.77 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002842/1.015, allocations: 0.5773 MB / 0.7137 GB, free: 5.191 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03573/1.051, allocations: 17.31 MB / 0.7306 GB, free: 3.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004498/1.056, allocations: 411.6 kB / 0.731 GB, free: 3.277 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004437/1.056, allocations: 91.97 kB / 0.7311 GB, free: 3.188 MB / 0.545 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 (162): * Single equations (assignments): 155 * 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 {9 63} Notification: Performance of prepare postOptimizeDAE: time 0.001956/1.058, allocations: 0.7055 MB / 0.7318 GB, free: 2.473 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007146/1.059, allocations: 336 kB / 0.7321 GB, free: 2.141 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008202/1.06, allocations: 380.1 kB / 0.7325 GB, free: 1.762 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.46e-05/1.06, allocations: 27.98 kB / 0.7325 GB, free: 1.734 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.783e-05/1.06, allocations: 11.95 kB / 0.7325 GB, free: 1.723 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.08e-05/1.06, allocations: 15.95 kB / 0.7325 GB, free: 1.707 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005559/1.065, allocations: 3.629 MB / 0.7361 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/1.065, allocations: 0 / 0.7361 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002352/1.068, allocations: 0.4993 MB / 0.7365 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008783/1.077, allocations: 2.861 MB / 0.7393 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004654/1.077, allocations: 51.97 kB / 0.7394 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03413/1.111, allocations: 17.12 MB / 0.7561 GB, free: 9.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/1.111, allocations: 0 / 0.7561 GB, free: 9.27 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01725/1.129, allocations: 6.52 MB / 0.7625 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002318/1.131, allocations: 0.7038 MB / 0.7632 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000562/1.131, allocations: 44 kB / 0.7632 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00295/1.134, allocations: 419.5 kB / 0.7636 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001385/1.136, allocations: 358.6 kB / 0.7639 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002175/1.136, allocations: 75.97 kB / 0.764 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002483/1.139, allocations: 1.509 MB / 0.7655 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.7e-07/1.139, allocations: 0 / 0.7655 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003739/1.142, allocations: 1.047 MB / 0.7665 GB, free: 14.56 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 (118): * Single equations (assignments): 106 * 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 62} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003857/1.143, allocations: 167 kB / 0.7667 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.02238/1.165, allocations: 6.823 MB / 0.7733 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.339e-05/1.165, allocations: 128 / 0.7733 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.01617/1.181, allocations: 4.225 MB / 0.7775 GB, free: 3.219 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006519/1.188, allocations: 1.045 MB / 0.7785 GB, free: 2.188 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01807/1.206, allocations: 7.927 MB / 0.7862 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002606/1.209, allocations: 2.231 MB / 0.7884 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001342/1.21, allocations: 199.4 kB / 0.7886 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of SimCode: time 1.522e-06/1.21, allocations: 3.938 kB / 0.7886 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of Templates: time 0.4612/1.671, allocations: 79.66 MB / 0.8664 GB, free: 205.8 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.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.DCLinesLinearizedCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearizedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearizedCalcHelperMain.o] Error 1