Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0009834/0.0009833, allocations: 99.59 kB / 15.71 MB, free: 452 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.001378/0.001378, allocations: 173.6 kB / 16.58 MB, free: 6.422 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.48/1.48, allocations: 223.2 MB / 240.6 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.714/2.714, allocations: 436.7 MB / 0.7113 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003629/0.0003629, allocations: 12 kB / 0.8717 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8499/0.8503, allocations: 153.7 MB / 1.022 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.001693/0.852, allocations: 1.109 MB / 1.023 GB, free: 4 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002153/0.8542, allocations: 1.757 MB / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.494e-05/0.8542, allocations: 0 / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0009073/0.8551, allocations: 338.1 kB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.021e-05/0.8552, allocations: 15.91 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 3.095e-06/0.8552, allocations: 4 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002304/0.8554, allocations: 127.2 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.882e-05/0.8555, allocations: 29.42 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.659e-05/0.8556, allocations: 39.86 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001768/0.8558, allocations: 71.77 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.8558, allocations: 0 / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004397/0.8562, allocations: 171.9 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.673e-05/0.8563, allocations: 39.83 kB / 1.025 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.17e-05/0.8564, allocations: 49.64 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002858/0.8567, allocations: 209.1 kB / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.8567, allocations: 0 / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.443e-06/0.8567, allocations: 0 / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.8567, allocations: 0 / 1.026 GB, free: 13.16 MB / 0.7794 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.0006763/0.8574, allocations: 486.3 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.8574, allocations: 12.03 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000158/0.8576, allocations: 95.09 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002632/0.8579, allocations: 286.1 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.498e-05/0.8579, allocations: 150.6 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.862e-05/0.858, allocations: 158.6 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.8581, allocations: 104.9 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.94e-05/0.8581, allocations: 75.28 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.474e-05/0.8582, allocations: 154.6 kB / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.513e-05/0.8583, allocations: 158.5 kB / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.522e-05/0.8584, allocations: 154.5 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004754/0.8589, allocations: 0.5094 MB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.699e-05/0.859, allocations: 165.1 kB / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.606e-05/0.859, allocations: 80.14 kB / 1.028 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.746e-05/0.859, allocations: 79.28 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.691e-05/0.8591, allocations: 117.7 kB / 1.028 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 7.82e-07/0.8591, allocations: 0 / 1.028 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 0.0001808/0.8593, allocations: 49.55 kB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/0.8594, allocations: 134.7 kB / 1.028 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003486/0.8598, allocations: 310.3 kB / 1.029 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.8598, allocations: 25.7 kB / 1.029 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.332e-05/0.8599, allocations: 120.4 kB / 1.029 GB, free: 9.578 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.435e-06/0.8599, allocations: 0 / 1.029 GB, free: 9.578 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-06/0.8599, allocations: 8 kB / 1.029 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.8601, allocations: 330.8 kB / 1.029 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.211e-05/0.8602, allocations: 59.97 kB / 1.029 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.8603, allocations: 117.9 kB / 1.029 GB, free: 9.043 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001088/0.8604, allocations: 83.95 kB / 1.029 GB, free: 8.961 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.8604, allocations: 0 / 1.029 GB, free: 8.961 MB / 0.7794 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004096/0.8608, allocations: 229.3 kB / 1.03 GB, free: 8.73 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.779e-05/0.8609, allocations: 7.984 kB / 1.03 GB, free: 8.723 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.8609, allocations: 3.953 kB / 1.03 GB, free: 8.719 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.8609, allocations: 4 kB / 1.03 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.747e-06/0.8609, allocations: 7.938 kB / 1.03 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.8609, allocations: 0 / 1.03 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/0.8611, allocations: 31.53 kB / 1.03 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.8611, allocations: 4 kB / 1.03 GB, free: 8.672 MB / 0.7794 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.0002252/0.8613, allocations: 225.3 kB / 1.03 GB, free: 8.441 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.253e-05/0.8614, allocations: 124.7 kB / 1.03 GB, free: 8.312 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.081e-05/0.8615, allocations: 117.8 kB / 1.03 GB, free: 8.195 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.852e-05/0.8615, allocations: 180.2 kB / 1.03 GB, free: 8.012 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001023/0.8616, allocations: 180.2 kB / 1.03 GB, free: 7.828 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.401e-05/0.8617, allocations: 184.2 kB / 1.031 GB, free: 7.641 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002819/0.862, allocations: 453.1 kB / 1.031 GB, free: 7.141 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.457e-05/0.8621, allocations: 105 kB / 1.031 GB, free: 7.031 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.294e-05/0.8621, allocations: 104.9 kB / 1.031 GB, free: 6.922 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001156/0.8622, allocations: 180.4 kB / 1.031 GB, free: 6.738 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001295/0.8624, allocations: 192.3 kB / 1.032 GB, free: 6.543 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.632e-05/0.8624, allocations: 184.2 kB / 1.032 GB, free: 6.355 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.307e-05/0.8625, allocations: 180.2 kB / 1.032 GB, free: 6.172 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001516/0.8627, allocations: 315.6 kB / 1.032 GB, free: 5.84 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.8628, allocations: 201.8 kB / 1.032 GB, free: 5.617 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001387/0.8629, allocations: 192.2 kB / 1.033 GB, free: 5.422 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/0.8631, allocations: 101 kB / 1.033 GB, free: 5.316 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.09e-05/0.8632, allocations: 188.1 kB / 1.033 GB, free: 5.125 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-05/0.8632, allocations: 105 kB / 1.033 GB, free: 5.016 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002132/0.8634, allocations: 209.9 kB / 1.033 GB, free: 4.809 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8634, allocations: 0 / 1.033 GB, free: 4.809 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000418/0.8639, allocations: 68 kB / 1.033 GB, free: 4.742 MB / 0.7794 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.0003289/0.8642, allocations: 266.5 kB / 1.034 GB, free: 4.469 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001918/0.8644, allocations: 108.1 kB / 1.034 GB, free: 4.363 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.8644, allocations: 0 / 1.034 GB, free: 4.363 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.194e-06/0.8644, allocations: 0 / 1.034 GB, free: 4.363 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004413/0.8649, allocations: 0.5312 MB / 1.034 GB, free: 3.828 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006204/0.8655, allocations: 435.9 kB / 1.035 GB, free: 3.367 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004917/0.866, allocations: 0.7434 MB / 1.035 GB, free: 2.598 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.017e-05/0.866, allocations: 15.42 kB / 1.035 GB, free: 2.586 MB / 0.7794 GB Notification: Performance of SimCode: time 1.502e-06/0.866, allocations: 0 / 1.035 GB, free: 2.586 MB / 0.7794 GB Notification: Performance of Templates: time 0.004086/0.8701, allocations: 2.321 MB / 1.038 GB, free: 276 kB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile make -j1 -f Buildings_latest_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_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_lowCalcHelperMain.o OMCppBuildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_lowCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_lowCalcHelperMain.o] Error 1