Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cab.1..Amp|cab.2..Amp|cab.3..Amp|cab.4..Amp|cab.5..Amp|cab.6..Amp|cab.7..Amp",fileNamePrefix="Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cab.1..Amp|cab.2..Amp|cab.3..Amp|cab.4..Amp|cab.5..Amp|cab.6..Amp|cab.7..Amp",fileNamePrefix="Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008419/0.0008419, allocations: 101.7 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.0008811/0.0008812, allocations: 177.1 kB / 16.58 MB, free: 6.402 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.496/1.496, allocations: 223.3 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.448/2.448, allocations: 390.5 MB / 0.6662 GB, free: 2.824 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004998/0.0004999, allocations: 16 kB / 0.8154 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7797/0.7803, allocations: 142.3 MB / 0.9544 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.001194/0.7815, allocations: 1.105 MB / 0.9555 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001653/0.7832, allocations: 1.768 MB / 0.9572 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.446e-05/0.7832, allocations: 1.188 kB / 0.9572 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000726/0.784, allocations: 335.9 kB / 0.9575 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.757e-05/0.784, allocations: 15.47 kB / 0.9576 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 2.855e-06/0.784, allocations: 0 / 0.9576 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001846/0.7842, allocations: 135.2 kB / 0.9577 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.58e-05/0.7843, allocations: 21.7 kB / 0.9577 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.828e-05/0.7843, allocations: 39.22 kB / 0.9577 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.7844, allocations: 68.73 kB / 0.9578 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.7845, allocations: 3.031 kB / 0.9578 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003964/0.7849, allocations: 172 kB / 0.958 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.118e-05/0.7849, allocations: 37.45 kB / 0.958 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.604e-05/0.7849, allocations: 49.95 kB / 0.9581 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002229/0.7852, allocations: 213.5 kB / 0.9583 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.7852, allocations: 0 / 0.9583 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.214e-06/0.7852, allocations: 0 / 0.9583 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.838e-06/0.7852, allocations: 0 / 0.9583 GB, free: 5.234 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005231/0.7857, allocations: 480.6 kB / 0.9587 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.7858, allocations: 9.625 kB / 0.9587 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001257/0.7859, allocations: 104 kB / 0.9588 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.7861, allocations: 284.4 kB / 0.9591 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.49e-05/0.7861, allocations: 151.6 kB / 0.9592 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.549e-05/0.7861, allocations: 152.9 kB / 0.9594 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.649e-05/0.7862, allocations: 106.3 kB / 0.9595 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.7862, allocations: 75.28 kB / 0.9596 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.94e-05/0.7862, allocations: 158.5 kB / 0.9597 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.83e-05/0.7862, allocations: 151.6 kB / 0.9599 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.939e-05/0.7862, allocations: 154.5 kB / 0.96 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002375/0.7865, allocations: 0.5091 MB / 0.9605 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.971e-05/0.7865, allocations: 166.7 kB / 0.9607 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.402e-05/0.7866, allocations: 80.14 kB / 0.9607 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.185e-05/0.7866, allocations: 79.22 kB / 0.9608 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.817e-05/0.7866, allocations: 107.6 kB / 0.9609 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/0.7866, allocations: 4 kB / 0.9609 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 0.0001511/0.7868, allocations: 48.75 kB / 0.961 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.403e-05/0.7868, allocations: 130.7 kB / 0.9611 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002582/0.7871, allocations: 312.6 kB / 0.9614 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.915e-06/0.7871, allocations: 30.83 kB / 0.9614 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.824e-05/0.7871, allocations: 116.8 kB / 0.9615 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.745e-06/0.7871, allocations: 0 / 0.9615 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-06/0.7871, allocations: 3.938 kB / 0.9615 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.131e-05/0.7872, allocations: 341 kB / 0.9619 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.445e-05/0.7873, allocations: 67.45 kB / 0.9619 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.98e-05/0.7874, allocations: 117.9 kB / 0.962 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.236e-05/0.7875, allocations: 82.64 kB / 0.9621 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.7875, allocations: 1.375 kB / 0.9621 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003559/0.7878, allocations: 243 kB / 0.9623 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.7879, allocations: 10.38 kB / 0.9624 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.7879, allocations: 1.375 kB / 0.9624 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.7879, allocations: 2.75 kB / 0.9624 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.184e-06/0.7879, allocations: 1.375 kB / 0.9624 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.7879, allocations: 2.75 kB / 0.9624 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.788, allocations: 30.41 kB / 0.9624 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.789e-06/0.788, allocations: 4.125 kB / 0.9624 GB, free: 1.258 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (cab[1].material,cab[2].material,cab[3].material,cab[4].material,cab[5].material,cab[6].material,cab[7].material) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001429/0.7882, allocations: 231.2 kB / 0.9626 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.661e-05/0.7882, allocations: 118.2 kB / 0.9627 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.941e-05/0.7883, allocations: 118 kB / 0.9628 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.239e-05/0.7883, allocations: 180.2 kB / 0.963 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.21e-05/0.7883, allocations: 177.6 kB / 0.9632 GB, free: 460 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.936e-05/0.7883, allocations: 177.6 kB / 0.9634 GB, free: 276 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002187/0.7886, allocations: 461.9 kB / 0.9638 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.393e-05/0.7886, allocations: 105 kB / 0.9639 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.024e-05/0.7886, allocations: 106.3 kB / 0.964 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.432e-05/0.7887, allocations: 181.6 kB / 0.9642 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.218e-05/0.7888, allocations: 181.6 kB / 0.9643 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.328e-05/0.7888, allocations: 184.2 kB / 0.9645 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.271e-05/0.7889, allocations: 177.6 kB / 0.9647 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001292/0.789, allocations: 323.8 kB / 0.965 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.719e-05/0.7891, allocations: 199.2 kB / 0.9652 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.937e-05/0.7892, allocations: 181.6 kB / 0.9654 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.7893, allocations: 110.3 kB / 0.9655 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.021e-05/0.7894, allocations: 181.6 kB / 0.9656 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.88e-05/0.7894, allocations: 106.3 kB / 0.9657 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001941/0.7896, allocations: 210.5 kB / 0.9659 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.4e-07/0.7896, allocations: 0 / 0.9659 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003492/0.79, allocations: 66.89 kB / 0.966 GB, free: 13.55 MB / 0.7325 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 (0): * Single equations (assignments): 0 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002929/0.7903, allocations: 265.5 kB / 0.9663 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001761/0.7905, allocations: 101.7 kB / 0.9664 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.7905, allocations: 1.406 kB / 0.9664 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.066e-06/0.7905, allocations: 7.938 kB / 0.9664 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003868/0.7909, allocations: 0.5326 MB / 0.9669 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005263/0.7914, allocations: 438.6 kB / 0.9673 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002837/0.7917, allocations: 0.7471 MB / 0.968 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.664e-05/0.7917, allocations: 8.406 kB / 0.968 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of SimCode: time 2.51e-07/0.7917, allocations: 1.031 kB / 0.968 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of Templates: time 0.003944/0.7957, allocations: 2.328 MB / 0.9703 GB, free: 10.48 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile make -j1 -f Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.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_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_lowCalcHelperMain.o OMCppBuildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_lowCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_lowCalcHelperMain.o] Error 1