Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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_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_9_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_9_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.0008251/0.0008252, allocations: 100.1 kB / 15.72 MB, free: 448 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.0009971/0.0009971, allocations: 174.3 kB / 16.59 MB, free: 6.863 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.56/1.56, allocations: 223.3 MB / 240.6 MB, free: 5.43 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.754/2.754, allocations: 390.4 MB / 0.6662 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003573/0.0003574, allocations: 12 kB / 0.8154 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8309/0.8313, allocations: 142.3 MB / 0.9544 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.001368/0.8327, allocations: 1.114 MB / 0.9555 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002601/0.8354, allocations: 2.428 MB / 0.9579 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.033e-05/0.8354, allocations: 0 / 0.9579 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001246/0.8367, allocations: 0.5168 MB / 0.9584 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.755e-05/0.8367, allocations: 24.47 kB / 0.9584 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.877e-06/0.8367, allocations: 1.312 kB / 0.9584 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002444/0.837, allocations: 164.5 kB / 0.9586 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.259e-05/0.8371, allocations: 33.39 kB / 0.9586 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.26e-05/0.8372, allocations: 54.78 kB / 0.9586 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.8373, allocations: 85.58 kB / 0.9587 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.8373, allocations: 1.656 kB / 0.9587 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009425/0.8383, allocations: 423.1 kB / 0.9591 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.223e-05/0.8383, allocations: 41.53 kB / 0.9592 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.436e-05/0.8384, allocations: 66.2 kB / 0.9592 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003306/0.8387, allocations: 298.9 kB / 0.9595 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.8387, allocations: 0 / 0.9595 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.533e-06/0.8387, allocations: 0 / 0.9595 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.8388, allocations: 1.375 kB / 0.9595 GB, free: 4.629 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.0006213/0.8394, allocations: 0.53 MB / 0.96 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.8394, allocations: 9.219 kB / 0.96 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000141/0.8396, allocations: 107.1 kB / 0.9601 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001908/0.8398, allocations: 303.3 kB / 0.9604 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.95e-05/0.8398, allocations: 152 kB / 0.9606 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.297e-05/0.8398, allocations: 153 kB / 0.9607 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.519e-05/0.8399, allocations: 106 kB / 0.9608 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.8399, allocations: 75.28 kB / 0.9609 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.474e-05/0.84, allocations: 158.6 kB / 0.9611 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.379e-05/0.84, allocations: 151.6 kB / 0.9612 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.53e-05/0.84, allocations: 163.9 kB / 0.9614 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002678/0.8403, allocations: 0.5298 MB / 0.9619 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.06e-05/0.8403, allocations: 174.4 kB / 0.962 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.687e-05/0.8404, allocations: 85.42 kB / 0.9621 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/0.8404, allocations: 75.28 kB / 0.9622 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.8404, allocations: 111 kB / 0.9623 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.8404, allocations: 0 / 0.9623 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 0.0001597/0.8406, allocations: 50.23 kB / 0.9623 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/0.8406, allocations: 130.7 kB / 0.9625 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004234/0.8411, allocations: 423.9 kB / 0.9629 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.8411, allocations: 30.67 kB / 0.9629 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.548e-05/0.8412, allocations: 134.8 kB / 0.963 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.585e-06/0.8412, allocations: 0 / 0.963 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-06/0.8412, allocations: 0 / 0.963 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.718e-05/0.8413, allocations: 344 kB / 0.9634 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.8414, allocations: 102.9 kB / 0.9635 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001579/0.8415, allocations: 171.1 kB / 0.9636 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/0.8417, allocations: 123.7 kB / 0.9637 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.8417, allocations: 0 / 0.9637 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.000481/0.8422, allocations: 324.2 kB / 0.964 GB, free: 428 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.8422, allocations: 6.094 kB / 0.9641 GB, free: 428 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.8422, allocations: 5 kB / 0.9641 GB, free: 424 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.8423, allocations: 3.312 kB / 0.9641 GB, free: 424 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.387e-06/0.8423, allocations: 5.719 kB / 0.9641 GB, free: 420 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.8423, allocations: 2.094 kB / 0.9641 GB, free: 420 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001401/0.8424, allocations: 44.84 kB / 0.9641 GB, free: 384 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.8424, allocations: 2.812 kB / 0.9641 GB, free: 384 kB / 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.0002047/0.8426, allocations: 245 kB / 0.9643 GB, free: 160 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.082e-05/0.8427, allocations: 132.3 kB / 0.9645 GB, free: 28 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.339e-05/0.8428, allocations: 117.8 kB / 0.9646 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.038e-05/0.8428, allocations: 177.6 kB / 0.9648 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-05/0.8429, allocations: 181.5 kB / 0.9649 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.425e-05/0.843, allocations: 181.1 kB / 0.9651 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002973/0.8433, allocations: 485.4 kB / 0.9656 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.388e-05/0.8433, allocations: 101 kB / 0.9657 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.343e-05/0.8434, allocations: 102.2 kB / 0.9658 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.598e-05/0.8434, allocations: 181.2 kB / 0.9659 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.785e-05/0.8435, allocations: 185.6 kB / 0.9661 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6e-05/0.8435, allocations: 181.5 kB / 0.9663 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.119e-05/0.8436, allocations: 185.6 kB / 0.9665 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001363/0.8438, allocations: 328 kB / 0.9668 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.8439, allocations: 201 kB / 0.967 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.927e-05/0.844, allocations: 182.2 kB / 0.9671 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.8441, allocations: 102.1 kB / 0.9672 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.442e-05/0.8442, allocations: 185.2 kB / 0.9674 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.375e-05/0.8442, allocations: 110.6 kB / 0.9675 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002895/0.8445, allocations: 272.6 kB / 0.9678 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8445, allocations: 1.062 kB / 0.9678 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004778/0.845, allocations: 76.88 kB / 0.9678 GB, free: 12.59 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.0004656/0.8455, allocations: 311 kB / 0.9681 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002594/0.8457, allocations: 163.9 kB / 0.9683 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.8458, allocations: 0 / 0.9683 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.276e-06/0.8458, allocations: 3.938 kB / 0.9683 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004282/0.8462, allocations: 0.5335 MB / 0.9688 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007746/0.847, allocations: 0.5542 MB / 0.9694 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003672/0.8474, allocations: 0.7775 MB / 0.9701 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.131e-05/0.8474, allocations: 8.844 kB / 0.9701 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/0.8474, allocations: 0 / 0.9701 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of Templates: time 0.00664/0.854, allocations: 3.083 MB / 0.9731 GB, free: 9.004 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile make -j1 -f Buildings_9_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_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_medCalcHelperMain.o OMCppBuildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_medCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_medCalcHelperMain.o] Error 1