Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.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_med,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_med") translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,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_med") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000887/0.0008868, 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.001324/0.001324, allocations: 176 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.477/1.477, allocations: 223.3 MB / 240.6 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.691/2.691, allocations: 436.7 MB / 0.7113 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003704/0.0003705, allocations: 8 kB / 0.8717 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8133/0.8137, allocations: 153.7 MB / 1.022 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.001576/0.8154, allocations: 1.12 MB / 1.023 GB, free: 8 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002879/0.8183, allocations: 2.427 MB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.694e-05/0.8183, allocations: 0 / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001221/0.8195, allocations: 0.5158 MB / 1.026 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.696e-05/0.8196, allocations: 23.91 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 3.136e-06/0.8196, allocations: 0 / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.00025/0.8199, allocations: 162.9 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.273e-05/0.8199, allocations: 36.39 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.54e-05/0.82, allocations: 55.73 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001454/0.8202, allocations: 79.59 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.194e-05/0.8202, allocations: 4 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009654/0.8212, allocations: 431.3 kB / 1.026 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.799e-05/0.8212, allocations: 35.83 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.528e-05/0.8213, allocations: 65.58 kB / 1.027 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000358/0.8217, allocations: 300.8 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.8217, allocations: 0 / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.744e-06/0.8217, allocations: 0 / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.8217, allocations: 0 / 1.027 GB, free: 11.88 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.0007104/0.8224, allocations: 0.541 MB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.8224, allocations: 8.031 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001489/0.8226, allocations: 103 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002596/0.8229, allocations: 305 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.655e-05/0.8229, allocations: 150.6 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.556e-05/0.823, allocations: 158.6 kB / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.147e-05/0.8231, allocations: 104.9 kB / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.536e-05/0.8231, allocations: 75.28 kB / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.934e-05/0.8232, allocations: 154.6 kB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.831e-05/0.8232, allocations: 154.6 kB / 1.029 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.532e-05/0.8233, allocations: 158.5 kB / 1.029 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000398/0.8237, allocations: 0.5328 MB / 1.029 GB, free: 9.312 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.102e-05/0.8238, allocations: 169.1 kB / 1.029 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.511e-05/0.8238, allocations: 80.14 kB / 1.029 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.752e-05/0.8239, allocations: 75.28 kB / 1.03 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.161e-05/0.824, allocations: 121.7 kB / 1.03 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.824, allocations: 0 / 1.03 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 0.0001688/0.8241, allocations: 61.31 kB / 1.03 GB, free: 8.785 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.531e-05/0.8242, allocations: 126.7 kB / 1.03 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004468/0.8246, allocations: 421.3 kB / 1.03 GB, free: 8.23 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.8247, allocations: 29.7 kB / 1.03 GB, free: 8.195 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.244e-05/0.8248, allocations: 132.5 kB / 1.03 GB, free: 8.062 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.444e-06/0.8248, allocations: 4 kB / 1.03 GB, free: 8.059 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.576e-06/0.8248, allocations: 0 / 1.03 GB, free: 8.059 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.8249, allocations: 342.8 kB / 1.031 GB, free: 7.715 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/0.8251, allocations: 96.5 kB / 1.031 GB, free: 7.621 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001782/0.8252, allocations: 169.2 kB / 1.031 GB, free: 7.438 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.8254, allocations: 123.8 kB / 1.031 GB, free: 7.316 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.8254, allocations: 0 / 1.031 GB, free: 7.316 MB / 0.7794 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005423/0.826, allocations: 324.9 kB / 1.031 GB, free: 6.992 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.826, allocations: 8 kB / 1.031 GB, free: 6.984 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.826, allocations: 3.953 kB / 1.031 GB, free: 6.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.826, allocations: 4 kB / 1.031 GB, free: 6.977 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.407e-06/0.826, allocations: 3.938 kB / 1.031 GB, free: 6.973 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.826, allocations: 7.984 kB / 1.031 GB, free: 6.965 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001357/0.8262, allocations: 39.38 kB / 1.031 GB, free: 6.926 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.8262, allocations: 8.156 kB / 1.031 GB, free: 6.918 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.000204/0.8264, allocations: 245.1 kB / 1.032 GB, free: 6.668 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.316e-05/0.8265, allocations: 124.6 kB / 1.032 GB, free: 6.539 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.402e-05/0.8266, allocations: 119 kB / 1.032 GB, free: 6.41 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.804e-05/0.8266, allocations: 184.2 kB / 1.032 GB, free: 6.223 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.847e-05/0.8267, allocations: 188.2 kB / 1.032 GB, free: 6.031 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.615e-05/0.8268, allocations: 176.3 kB / 1.032 GB, free: 5.852 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002961/0.8271, allocations: 477.1 kB / 1.033 GB, free: 5.328 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-05/0.8271, allocations: 105 kB / 1.033 GB, free: 5.219 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.272e-05/0.8272, allocations: 101 kB / 1.033 GB, free: 5.113 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.67e-05/0.8272, allocations: 184.2 kB / 1.033 GB, free: 4.926 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-05/0.8273, allocations: 180.3 kB / 1.033 GB, free: 4.742 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.283e-05/0.8274, allocations: 188.2 kB / 1.034 GB, free: 4.551 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.648e-05/0.8275, allocations: 180.2 kB / 1.034 GB, free: 4.367 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001497/0.8276, allocations: 327.4 kB / 1.034 GB, free: 4.023 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.8277, allocations: 201.8 kB / 1.034 GB, free: 3.801 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.776e-05/0.8278, allocations: 180.2 kB / 1.034 GB, free: 3.617 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.828, allocations: 109 kB / 1.035 GB, free: 3.504 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.728e-05/0.8281, allocations: 180.2 kB / 1.035 GB, free: 3.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.726e-05/0.8281, allocations: 104.9 kB / 1.035 GB, free: 3.211 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002776/0.8284, allocations: 275.1 kB / 1.035 GB, free: 2.945 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8284, allocations: 0 / 1.035 GB, free: 2.945 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003995/0.8288, allocations: 83.98 kB / 1.035 GB, free: 2.863 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.0003664/0.8292, allocations: 292.8 kB / 1.035 GB, free: 2.57 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002287/0.8294, allocations: 163.9 kB / 1.036 GB, free: 2.41 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.8294, allocations: 0 / 1.036 GB, free: 2.41 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.246e-06/0.8294, allocations: 4 kB / 1.036 GB, free: 2.406 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004397/0.8299, allocations: 0.532 MB / 1.036 GB, free: 1.867 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006754/0.8306, allocations: 0.5575 MB / 1.037 GB, free: 1.277 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003795/0.831, allocations: 0.7707 MB / 1.037 GB, free: 492 kB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.517e-05/0.831, allocations: 11.44 kB / 1.037 GB, free: 484 kB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.831, allocations: 3.938 kB / 1.037 GB, free: 480 kB / 0.7794 GB Notification: Performance of Templates: time 0.004969/0.836, allocations: 3.088 MB / 1.04 GB, free: 13.38 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile make -j1 -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.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_medCalcHelperMain.o OMCppBuildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_medCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_medCalcHelperMain.o] Error 1