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.001098/0.001098, allocations: 102.6 kB / 15.71 MB, free: 460 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.001484/0.001485, allocations: 176.3 kB / 16.58 MB, free: 6.863 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.818/1.818, allocations: 205.4 MB / 222.7 MB, free: 5.887 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.817/1.817, allocations: 292.7 MB / 0.5505 GB, free: 14.54 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.0005404/0.0005409, allocations: 15.69 kB / 0.6743 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2722/0.2727, allocations: 116.3 MB / 0.7879 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.004702/0.2775, allocations: 3.802 MB / 0.7916 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002759/0.2803, allocations: 1.739 MB / 0.7933 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002432/0.2806, allocations: 11.94 kB / 0.7934 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002577/0.2809, allocations: 75.34 kB / 0.7934 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005737/0.2815, allocations: 206.9 kB / 0.7936 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005671/0.282, allocations: 191.6 kB / 0.7938 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007113/0.2828, allocations: 0.6775 MB / 0.7945 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005091/0.2833, allocations: 392.9 kB / 0.7948 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002492/0.2835, allocations: 199.2 kB / 0.795 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000494/0.284, allocations: 247.1 kB / 0.7953 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.207e-05/0.2841, allocations: 20 kB / 0.7953 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000336/0.2844, allocations: 123.8 kB / 0.7954 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001275/0.2846, allocations: 127.6 kB / 0.7955 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.876e-05/0.2847, allocations: 97.52 kB / 0.7956 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004947/0.2852, allocations: 459 kB / 0.7961 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.907e-06/0.2852, allocations: 0 / 0.7961 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.385e-06/0.2852, allocations: 4 kB / 0.7961 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.096e-06/0.2852, allocations: 0 / 0.7961 GB, free: 3.523 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.001151/0.2864, allocations: 0.6627 MB / 0.7967 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.2864, allocations: 12.03 kB / 0.7967 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009474/0.2874, allocations: 147.3 kB / 0.7969 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004768/0.2879, allocations: 321.3 kB / 0.7972 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.61e-05/0.2879, allocations: 29 kB / 0.7972 GB, free: 2.273 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.496e-05/0.288, allocations: 32 kB / 0.7972 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008462/0.2888, allocations: 0.5275 MB / 0.7977 GB, free: 1.676 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.2889, allocations: 4 kB / 0.7977 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.618e-05/0.2889, allocations: 19.98 kB / 0.7978 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.204e-05/0.289, allocations: 28.64 kB / 0.7978 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005882/0.2896, allocations: 390.3 kB / 0.7982 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002883/0.2924, allocations: 2.411 MB / 0.8005 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006253/0.2931, allocations: 262.5 kB / 0.8008 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00018/0.2933, allocations: 121 kB / 0.8009 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.2933, allocations: 0 / 0.8009 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.502e-05/0.2934, allocations: 42.5 kB / 0.8009 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=20): time 1.934e-06/0.2934, allocations: 0 / 0.8009 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of matching and sorting (n=23): time 0.00244/0.2958, allocations: 1.117 MB / 0.802 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.304e-05/0.2959, allocations: 55.41 kB / 0.8021 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003733/0.2963, allocations: 296.4 kB / 0.8024 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.069e-05/0.2964, allocations: 33.7 kB / 0.8024 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001829/0.2966, allocations: 227.6 kB / 0.8026 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.951e-05/0.2967, allocations: 90.83 kB / 0.8027 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.689e-05/0.2967, allocations: 7.938 kB / 0.8027 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002073/0.2969, allocations: 338.8 kB / 0.803 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001928/0.2971, allocations: 104.6 kB / 0.8031 GB, free: 11.78 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002306/0.2973, allocations: 183.7 kB / 0.8033 GB, free: 11.56 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002272/0.2976, allocations: 137.1 kB / 0.8034 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2976, allocations: 4 kB / 0.8034 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007702/0.2984, allocations: 438.3 kB / 0.8038 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/0.2984, allocations: 8 kB / 0.8039 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.2984, allocations: 4 kB / 0.8039 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000388/0.2988, allocations: 102.4 kB / 0.804 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000288/0.2991, allocations: 71.91 kB / 0.804 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003612/0.3027, allocations: 4.052 MB / 0.808 GB, free: 6.336 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002602/0.303, allocations: 12 kB / 0.808 GB, free: 6.324 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.615e-05/0.303, allocations: 15.98 kB / 0.808 GB, free: 6.309 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002725/0.3033, allocations: 177.9 kB / 0.8082 GB, free: 6.125 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.785e-05/0.3034, allocations: 35.58 kB / 0.8082 GB, free: 6.09 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.518e-05/0.3035, allocations: 42.31 kB / 0.8083 GB, free: 6.047 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.3035, allocations: 4 kB / 0.8083 GB, free: 6.043 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.3035, allocations: 0 / 0.8083 GB, free: 6.043 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3035, allocations: 0 / 0.8083 GB, free: 6.043 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005081/0.304, allocations: 401.4 kB / 0.8086 GB, free: 5.602 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.3041, allocations: 3.938 kB / 0.8086 GB, free: 5.598 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001858/0.3043, allocations: 39.97 kB / 0.8087 GB, free: 5.559 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003061/0.3046, allocations: 90.45 kB / 0.8088 GB, free: 5.461 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.3046, allocations: 7.938 kB / 0.8088 GB, free: 5.453 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003034/0.3076, allocations: 4.072 MB / 0.8127 GB, free: 0.9805 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3077, allocations: 0 / 0.8127 GB, free: 0.9805 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008083/0.3085, allocations: 0.5506 MB / 0.8133 GB, free: 416 kB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001422/0.3086, allocations: 124.8 kB / 0.8134 GB, free: 272 kB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.628e-05/0.3087, allocations: 7.953 kB / 0.8134 GB, free: 264 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001836/0.3089, allocations: 12 kB / 0.8134 GB, free: 252 kB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.764e-05/0.3089, allocations: 15.97 kB / 0.8134 GB, free: 236 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.3089, allocations: 12.06 kB / 0.8135 GB, free: 224 kB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002032/0.3091, allocations: 211.1 kB / 0.8137 GB, free: 16 kB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3091, allocations: 0 / 0.8137 GB, free: 16 kB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004903/0.3096, allocations: 96.05 kB / 0.8137 GB, free: 15.92 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001421/0.3098, allocations: 107.2 kB / 0.8138 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0008568/0.3107, allocations: 0.6012 MB / 0.8144 GB, free: 15.17 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.3107, allocations: 4 kB / 0.8144 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004896/0.3112, allocations: 479.1 kB / 0.8149 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004963/0.3117, allocations: 64.56 kB / 0.815 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.313, allocations: 0.8949 MB / 0.8158 GB, free: 13.67 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004135/0.3134, allocations: 0.8348 MB / 0.8166 GB, free: 12.81 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.902e-05/0.3135, allocations: 27.44 kB / 0.8167 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of SimCode: time 3.51e-07/0.3135, allocations: 0 / 0.8167 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of Templates: time 0.0105/0.324, allocations: 8.641 MB / 0.8251 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++ 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.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