Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.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.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel") translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00709/0.00709, allocations: 100.6 kB / 15.87 MB, free: 5.863 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.001349/0.001349, allocations: 189.1 kB / 16.79 MB, free: 5.805 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.676/1.676, allocations: 205.1 MB / 222.6 MB, free: 4.703 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.89/1.89, allocations: 292.3 MB / 0.5491 GB, free: 13.65 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.001601/0.001601, allocations: 68.41 kB / 0.6715 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.3467, allocations: 114.5 MB / 0.7833 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.007192/0.3539, allocations: 4.366 MB / 0.7876 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003907/0.3579, allocations: 1.867 MB / 0.7894 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000364/0.3583, allocations: 12 kB / 0.7894 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001654/0.36, allocations: 0.5605 MB / 0.79 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0008011/0.3609, allocations: 246.9 kB / 0.7902 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008031/0.3617, allocations: 223.5 kB / 0.7904 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0009359/0.3626, allocations: 0.8374 MB / 0.7912 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005511/0.3632, allocations: 306.9 kB / 0.7915 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002637/0.3635, allocations: 211.2 kB / 0.7917 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005874/0.3641, allocations: 282.9 kB / 0.792 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.268e-05/0.3641, allocations: 28 kB / 0.792 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007122/0.3649, allocations: 315.3 kB / 0.7923 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001681/0.365, allocations: 135.6 kB / 0.7925 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002327/0.3653, allocations: 207 kB / 0.7927 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005265/0.3658, allocations: 479.1 kB / 0.7931 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.3658, allocations: 0 / 0.7931 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3658, allocations: 0 / 0.7931 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.3658, allocations: 0 / 0.7931 GB, free: 3.918 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.0014/0.3673, allocations: 0.733 MB / 0.7938 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.3673, allocations: 8.031 kB / 0.7938 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/0.3683, allocations: 148.2 kB / 0.794 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004579/0.3688, allocations: 318.6 kB / 0.7943 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.873e-05/0.3688, allocations: 29.38 kB / 0.7943 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.019e-05/0.3689, allocations: 28.38 kB / 0.7943 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000829/0.3698, allocations: 0.5395 MB / 0.7949 GB, free: 2 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.3698, allocations: 3.938 kB / 0.7949 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.707e-05/0.3698, allocations: 20 kB / 0.7949 GB, free: 1.977 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-05/0.3699, allocations: 28.64 kB / 0.7949 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005985/0.3705, allocations: 386.3 kB / 0.7953 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003011/0.3735, allocations: 2.415 MB / 0.7976 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005582/0.3741, allocations: 258.5 kB / 0.7979 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001754/0.3743, allocations: 108.8 kB / 0.798 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.3743, allocations: 4 kB / 0.798 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.798e-05/0.3744, allocations: 42.55 kB / 0.798 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=20): time 2.164e-06/0.3744, allocations: 0 / 0.798 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of matching and sorting (n=23): time 0.002441/0.3768, allocations: 1.124 MB / 0.7991 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/0.3769, allocations: 59.41 kB / 0.7992 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003352/0.3772, allocations: 304.4 kB / 0.7995 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.3773, allocations: 29.7 kB / 0.7995 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000178/0.3775, allocations: 227.6 kB / 0.7997 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.969e-05/0.3776, allocations: 82.75 kB / 0.7998 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.3777, allocations: 58.03 kB / 0.7999 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001787/0.3779, allocations: 342.8 kB / 0.8002 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001755/0.378, allocations: 100.6 kB / 0.8003 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002398/0.3783, allocations: 191.7 kB / 0.8005 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004266/0.3787, allocations: 327.4 kB / 0.8008 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3787, allocations: 0 / 0.8008 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007794/0.3795, allocations: 449.8 kB / 0.8012 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.3796, allocations: 4 kB / 0.8012 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.3796, allocations: 4 kB / 0.8012 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003932/0.38, allocations: 98.69 kB / 0.8013 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003032/0.3803, allocations: 59.91 kB / 0.8014 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003537/0.3838, allocations: 4.076 MB / 0.8053 GB, free: 6.375 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002559/0.3841, allocations: 8 kB / 0.8054 GB, free: 6.367 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.825e-05/0.3841, allocations: 16 kB / 0.8054 GB, free: 6.352 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002561/0.3844, allocations: 181.8 kB / 0.8055 GB, free: 6.164 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.749e-05/0.3845, allocations: 31.62 kB / 0.8056 GB, free: 6.133 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.311e-05/0.3846, allocations: 38.31 kB / 0.8056 GB, free: 6.098 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.3846, allocations: 4 kB / 0.8056 GB, free: 6.094 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.159e-05/0.3846, allocations: 4 kB / 0.8056 GB, free: 6.09 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.3846, allocations: 3.984 kB / 0.8056 GB, free: 6.086 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004978/0.3851, allocations: 397.4 kB / 0.806 GB, free: 5.648 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.3851, allocations: 4 kB / 0.806 GB, free: 5.645 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001941/0.3853, allocations: 39.91 kB / 0.806 GB, free: 5.605 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003219/0.3857, allocations: 90.5 kB / 0.8061 GB, free: 5.508 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.737e-05/0.3857, allocations: 4 kB / 0.8061 GB, free: 5.504 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003433/0.3891, allocations: 4.068 MB / 0.8101 GB, free: 1.035 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.3892, allocations: 4 kB / 0.8101 GB, free: 1.031 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009431/0.3901, allocations: 0.5598 MB / 0.8107 GB, free: 456 kB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000173/0.3903, allocations: 132.6 kB / 0.8108 GB, free: 304 kB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.294e-05/0.3903, allocations: 8 kB / 0.8108 GB, free: 296 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002093/0.3906, allocations: 11.98 kB / 0.8108 GB, free: 284 kB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.123e-05/0.3906, allocations: 15.98 kB / 0.8108 GB, free: 268 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-05/0.3906, allocations: 12.06 kB / 0.8108 GB, free: 256 kB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002446/0.3909, allocations: 211.1 kB / 0.811 GB, free: 48 kB / 0.6231 GB Notification: Performance of sort global known variables: time 4.01e-07/0.3909, allocations: 0 / 0.811 GB, free: 48 kB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006213/0.3915, allocations: 96.08 kB / 0.8111 GB, free: 15.95 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * 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 (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002034/0.3917, allocations: 103.8 kB / 0.8112 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001063/0.3928, allocations: 0.6132 MB / 0.8118 GB, free: 15.19 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.3928, allocations: 4 kB / 0.8118 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005634/0.3934, allocations: 474.9 kB / 0.8123 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005421/0.394, allocations: 72.91 kB / 0.8123 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001509/0.3955, allocations: 0.9119 MB / 0.8132 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005522/0.3961, allocations: 0.8309 MB / 0.814 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.3962, allocations: 27.44 kB / 0.8141 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of SimCode: time 8.52e-07/0.3962, allocations: 0 / 0.8141 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of Templates: time 0.01276/0.4089, allocations: 8.648 MB / 0.8225 GB, free: 4.16 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile make -j1 -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.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 OMCppBuildings_8_Buildings.Electrical.DC.Lines.Examples.RCModelCalcHelperMain.o OMCppBuildings_8_Buildings.Electrical.DC.Lines.Examples.RCModelCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Electrical.DC.Lines.Examples.RCModelCalcHelperMain.o] Error 1