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.0008754/0.000875, allocations: 100.8 kB / 15.71 MB, free: 456 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.001017/0.001017, allocations: 174.6 kB / 16.58 MB, free: 6.859 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.81/1.81, allocations: 205.4 MB / 222.8 MB, free: 5.664 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.808/1.808, allocations: 292.7 MB / 0.5505 GB, free: 14.56 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.0005658/0.0005659, allocations: 24.89 kB / 0.6744 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/0.2783, allocations: 116.3 MB / 0.7879 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.003458/0.2818, allocations: 2.649 MB / 0.7905 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001999/0.2838, allocations: 1.229 MB / 0.7917 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001166/0.284, allocations: 4 kB / 0.7917 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000182/0.2842, allocations: 43.7 kB / 0.7918 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003529/0.2845, allocations: 119.4 kB / 0.7919 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003038/0.2848, allocations: 91.75 kB / 0.792 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000355/0.2852, allocations: 354.9 kB / 0.7923 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003047/0.2855, allocations: 207.9 kB / 0.7925 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.2857, allocations: 99.62 kB / 0.7926 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003085/0.286, allocations: 139.5 kB / 0.7927 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.892e-05/0.286, allocations: 12 kB / 0.7927 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002103/0.2862, allocations: 83.89 kB / 0.7928 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.677e-05/0.2863, allocations: 63.8 kB / 0.7929 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.564e-05/0.2864, allocations: 65.62 kB / 0.7929 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000328/0.2867, allocations: 247.7 kB / 0.7932 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.2868, allocations: 7.922 kB / 0.7932 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.843e-06/0.2868, allocations: 0 / 0.7932 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.213e-06/0.2868, allocations: 0 / 0.7932 GB, free: 6.527 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.0008333/0.2876, allocations: 494.8 kB / 0.7937 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.2877, allocations: 8.031 kB / 0.7937 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005683/0.2882, allocations: 79.69 kB / 0.7937 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003069/0.2886, allocations: 233.7 kB / 0.794 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.462e-05/0.2886, allocations: 24.3 kB / 0.794 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.517e-05/0.2886, allocations: 16 kB / 0.794 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004737/0.2891, allocations: 306.7 kB / 0.7943 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.2891, allocations: 4 kB / 0.7943 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.761e-05/0.2892, allocations: 4 kB / 0.7943 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.944e-05/0.2892, allocations: 20.36 kB / 0.7943 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003037/0.2895, allocations: 192.9 kB / 0.7945 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001513/0.2911, allocations: 1.468 MB / 0.7959 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000292/0.2914, allocations: 183.6 kB / 0.7961 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.345e-05/0.2914, allocations: 32.84 kB / 0.7961 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-06/0.2915, allocations: 0 / 0.7961 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.2915, allocations: 34.56 kB / 0.7962 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.2915, allocations: 0 / 0.7962 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0005251/0.292, allocations: 231.5 kB / 0.7964 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.2921, allocations: 51.41 kB / 0.7964 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002172/0.2923, allocations: 196.2 kB / 0.7966 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.2923, allocations: 29.7 kB / 0.7967 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.2925, allocations: 167.5 kB / 0.7968 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.402e-05/0.2925, allocations: 23.7 kB / 0.7968 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.155e-06/0.2925, allocations: 4 kB / 0.7968 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.2927, allocations: 322.8 kB / 0.7972 GB, free: 2.078 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.506e-05/0.2927, allocations: 35.98 kB / 0.7972 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.2929, allocations: 99.47 kB / 0.7973 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.949e-05/0.293, allocations: 55.98 kB / 0.7973 GB, free: 1.863 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.293, allocations: 0 / 0.7973 GB, free: 1.863 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002996/0.2933, allocations: 190.3 kB / 0.7975 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.2933, allocations: 15.95 kB / 0.7975 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.2933, allocations: 0 / 0.7975 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001708/0.2935, allocations: 24.84 kB / 0.7976 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.2936, allocations: 31.92 kB / 0.7976 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001056/0.2947, allocations: 1.315 MB / 0.7989 GB, free: 140 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.2948, allocations: 19.88 kB / 0.7989 GB, free: 120 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.2948, allocations: 4 kB / 0.7989 GB, free: 116 kB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001555/0.295, allocations: 153.8 kB / 0.799 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.871e-05/0.295, allocations: 19.77 kB / 0.7991 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.843e-05/0.2951, allocations: 17.39 kB / 0.7991 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.2951, allocations: 0 / 0.7991 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.2951, allocations: 4 kB / 0.7991 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2951, allocations: 0 / 0.7991 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005828/0.2957, allocations: 447.5 kB / 0.7995 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.2957, allocations: 0 / 0.7995 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.86e-05/0.2957, allocations: 12 kB / 0.7995 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.09e-05/0.2958, allocations: 20.84 kB / 0.7995 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.2958, allocations: 8 kB / 0.7995 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001196/0.297, allocations: 1.319 MB / 0.8008 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.297, allocations: 3.984 kB / 0.8008 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002183/0.2973, allocations: 204.2 kB / 0.801 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 6.717e-05/0.2973, allocations: 97 kB / 0.8011 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/0.2974, allocations: 0 / 0.8011 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.2975, allocations: 16.03 kB / 0.8011 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.475e-05/0.2975, allocations: 7.984 kB / 0.8011 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.2975, allocations: 0 / 0.8011 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001211/0.2977, allocations: 148.1 kB / 0.8013 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2977, allocations: 0 / 0.8013 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003458/0.298, allocations: 63.7 kB / 0.8014 GB, free: 13.36 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001097/0.2981, allocations: 95.25 kB / 0.8014 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003632/0.2985, allocations: 202.5 kB / 0.8016 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.2985, allocations: 4 kB / 0.8016 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001522/0.2987, allocations: 146.7 kB / 0.8018 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003728/0.2991, allocations: 35.91 kB / 0.8018 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007887/0.2999, allocations: 472.9 kB / 0.8023 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004048/0.3003, allocations: 0.7478 MB / 0.803 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.46e-05/0.3003, allocations: 19.42 kB / 0.803 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of SimCode: time 3.91e-07/0.3003, allocations: 0 / 0.803 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of Templates: time 0.005266/0.3056, allocations: 2.936 MB / 0.8059 GB, free: 8.641 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++ 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 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