Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.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.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance") translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 96.14 kB / 15.87 MB, free: 16 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.001496/0.001496, allocations: 190.2 kB / 16.79 MB, free: 6.812 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.728/1.728, allocations: 205.1 MB / 222.6 MB, free: 4.766 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.841/1.841, allocations: 292.3 MB / 0.5491 GB, free: 13.62 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.001451/0.001451, allocations: 61.06 kB / 0.6715 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.298, allocations: 114.5 MB / 0.7833 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.005144/0.3032, allocations: 3.123 MB / 0.7864 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002237/0.3054, allocations: 1.325 MB / 0.7877 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001497/0.3056, allocations: 7.938 kB / 0.7877 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009646/0.3066, allocations: 310.1 kB / 0.788 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003401/0.307, allocations: 135.4 kB / 0.7881 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003414/0.3073, allocations: 127.7 kB / 0.7882 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004322/0.3078, allocations: 438.7 kB / 0.7886 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003209/0.3081, allocations: 152.3 kB / 0.7888 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/0.3083, allocations: 107.6 kB / 0.7889 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002962/0.3086, allocations: 147.5 kB / 0.789 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.52e-05/0.3086, allocations: 12 kB / 0.789 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003455/0.309, allocations: 207.6 kB / 0.7892 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.024e-05/0.3091, allocations: 71.8 kB / 0.7893 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001563/0.3092, allocations: 115.4 kB / 0.7894 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003452/0.3096, allocations: 251.7 kB / 0.7896 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.3096, allocations: 4 kB / 0.7897 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3096, allocations: 0 / 0.7897 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.3096, allocations: 0 / 0.7897 GB, free: 7.473 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0009465/0.3106, allocations: 0.5108 MB / 0.7902 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.3106, allocations: 8.031 kB / 0.7902 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006012/0.3112, allocations: 80.58 kB / 0.7902 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003382/0.3116, allocations: 236 kB / 0.7905 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.3116, allocations: 20.73 kB / 0.7905 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.556e-05/0.3117, allocations: 20.36 kB / 0.7905 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005241/0.3122, allocations: 307 kB / 0.7908 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.3122, allocations: 0 / 0.7908 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.056e-05/0.3122, allocations: 8 kB / 0.7908 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.884e-05/0.3123, allocations: 20.36 kB / 0.7908 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003303/0.3126, allocations: 196.9 kB / 0.791 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001667/0.3143, allocations: 1.468 MB / 0.7924 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002708/0.3146, allocations: 175.7 kB / 0.7926 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.229e-05/0.3147, allocations: 36.89 kB / 0.7926 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.778e-06/0.3147, allocations: 7.922 kB / 0.7927 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.3147, allocations: 34.62 kB / 0.7927 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.3147, allocations: 0 / 0.7927 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0005031/0.3152, allocations: 223.5 kB / 0.7929 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.217e-05/0.3153, allocations: 55.41 kB / 0.793 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002086/0.3155, allocations: 204.1 kB / 0.7931 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.282e-05/0.3156, allocations: 25.7 kB / 0.7932 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.3157, allocations: 167.6 kB / 0.7933 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.231e-05/0.3157, allocations: 23.7 kB / 0.7934 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.3158, allocations: 29.72 kB / 0.7934 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001741/0.316, allocations: 334.8 kB / 0.7937 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.639e-05/0.3161, allocations: 35.98 kB / 0.7937 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001122/0.3162, allocations: 111.2 kB / 0.7938 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001713/0.3164, allocations: 140.5 kB / 0.794 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3164, allocations: 0 / 0.794 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003023/0.3167, allocations: 190.2 kB / 0.7942 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.3167, allocations: 7.984 kB / 0.7942 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.3167, allocations: 4 kB / 0.7942 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001598/0.3169, allocations: 24.84 kB / 0.7942 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.317, allocations: 28.22 kB / 0.7942 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00128/0.3183, allocations: 1.319 MB / 0.7955 GB, free: 0.8789 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/0.3184, allocations: 16 kB / 0.7955 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.3184, allocations: 12 kB / 0.7955 GB, free: 0.8516 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001406/0.3186, allocations: 145.8 kB / 0.7957 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.135e-05/0.3187, allocations: 23.73 kB / 0.7957 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.834e-05/0.3187, allocations: 17.5 kB / 0.7957 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.3187, allocations: 3.938 kB / 0.7957 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.3187, allocations: 0 / 0.7957 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3188, allocations: 0 / 0.7957 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000543/0.3193, allocations: 451.2 kB / 0.7961 GB, free: 164 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.3193, allocations: 7.875 kB / 0.7962 GB, free: 156 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.767e-05/0.3194, allocations: 8 kB / 0.7962 GB, free: 148 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.185e-05/0.3194, allocations: 20.84 kB / 0.7962 GB, free: 124 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/0.3195, allocations: 0 / 0.7962 GB, free: 124 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001026/0.3205, allocations: 1.319 MB / 0.7975 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.3205, allocations: 3.938 kB / 0.7975 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002333/0.3208, allocations: 212.4 kB / 0.7977 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.318e-05/0.3208, allocations: 92.92 kB / 0.7978 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.05e-05/0.3209, allocations: 11.92 kB / 0.7978 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.321, allocations: 4 kB / 0.7978 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.097e-05/0.321, allocations: 3.938 kB / 0.7978 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.233e-06/0.321, allocations: 4 kB / 0.7978 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001343/0.3212, allocations: 148.1 kB / 0.7979 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3212, allocations: 0 / 0.7979 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003497/0.3215, allocations: 55.84 kB / 0.798 GB, free: 14.11 MB / 0.6231 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 (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001891/0.3217, allocations: 103.2 kB / 0.7981 GB, free: 14 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000465/0.3222, allocations: 215 kB / 0.7983 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.3222, allocations: 0 / 0.7983 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001802/0.3224, allocations: 143.2 kB / 0.7984 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004545/0.3229, allocations: 43.06 kB / 0.7985 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008729/0.3237, allocations: 467.3 kB / 0.7989 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004438/0.3242, allocations: 0.7517 MB / 0.7996 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.381e-05/0.3243, allocations: 15.44 kB / 0.7997 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of SimCode: time 3.81e-07/0.3243, allocations: 0 / 0.7997 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of Templates: time 0.005454/0.3297, allocations: 2.962 MB / 0.8025 GB, free: 9.352 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile make -j1 -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.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.ResistanceCalcHelperMain.o OMCppBuildings_8_Buildings.Electrical.DC.Lines.Examples.ResistanceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Electrical.DC.Lines.Examples.ResistanceCalcHelperMain.o] Error 1