Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.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.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 102.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.00152/0.00152, allocations: 176 kB / 16.58 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.449/1.449, allocations: 223.2 MB / 240.6 MB, free: 5.445 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.513/2.513, allocations: 390.4 MB / 0.6662 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003712/0.0003712, allocations: 12 kB / 0.8154 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8384/0.8388, allocations: 142.3 MB / 0.9544 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.00102/0.8398, allocations: 0.5157 MB / 0.9549 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001143/0.84, allocations: 40.84 kB / 0.955 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.92e-05/0.84, allocations: 1.312 kB / 0.955 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.894e-05/0.8401, allocations: 9.344 kB / 0.955 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.631e-05/0.8401, allocations: 3.938 kB / 0.955 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.954e-05/0.8402, allocations: 15.86 kB / 0.955 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.672e-05/0.8403, allocations: 53.44 kB / 0.955 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.8404, allocations: 25.95 kB / 0.9551 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.383e-05/0.8405, allocations: 17.36 kB / 0.9551 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.591e-05/0.8405, allocations: 20.28 kB / 0.9551 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.8406, allocations: 2.156 kB / 0.9551 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.166e-06/0.8406, allocations: 1.5 kB / 0.9551 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.706e-05/0.8406, allocations: 18.72 kB / 0.9551 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.467e-05/0.8406, allocations: 36.58 kB / 0.9552 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.374e-05/0.8407, allocations: 45.89 kB / 0.9552 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.8407, allocations: 0 / 0.9552 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.963e-06/0.8407, allocations: 1.219 kB / 0.9552 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.087e-06/0.8407, allocations: 0 / 0.9552 GB, free: 7.496 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003256/0.8411, allocations: 371.8 kB / 0.9556 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.8411, allocations: 9.219 kB / 0.9556 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.498e-05/0.8411, allocations: 16.45 kB / 0.9556 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.8413, allocations: 189 kB / 0.9558 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.8413, allocations: 3.812 kB / 0.9558 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.331e-05/0.8413, allocations: 8.281 kB / 0.9558 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.8415, allocations: 85.98 kB / 0.9559 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.8415, allocations: 0 / 0.9559 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.8415, allocations: 13.56 kB / 0.9559 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.8416, allocations: 5.281 kB / 0.9559 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.982e-05/0.8416, allocations: 43.12 kB / 0.9559 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004271/0.8421, allocations: 438.3 kB / 0.9563 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.744e-05/0.8421, allocations: 44.88 kB / 0.9564 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.453e-05/0.8422, allocations: 15.5 kB / 0.9564 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.624e-06/0.8422, allocations: 3.984 kB / 0.9564 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.8422, allocations: 35.78 kB / 0.9564 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.8422, allocations: 1.438 kB / 0.9564 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001617/0.8424, allocations: 58.41 kB / 0.9565 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.8424, allocations: 77.11 kB / 0.9566 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.8426, allocations: 162.8 kB / 0.9567 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.202e-06/0.8426, allocations: 26.98 kB / 0.9567 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.247e-05/0.8426, allocations: 103.8 kB / 0.9568 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.047e-06/0.8426, allocations: 9.031 kB / 0.9568 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-06/0.8426, allocations: 0 / 0.9568 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.619e-05/0.8427, allocations: 333.9 kB / 0.9572 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.54e-05/0.8427, allocations: 7.125 kB / 0.9572 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.848e-05/0.8427, allocations: 14.56 kB / 0.9572 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.356e-05/0.8428, allocations: 7.969 kB / 0.9572 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.8428, allocations: 1.094 kB / 0.9572 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.348e-05/0.8429, allocations: 62.62 kB / 0.9573 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.8429, allocations: 4.656 kB / 0.9573 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.8429, allocations: 5.5 kB / 0.9573 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.8429, allocations: 1.188 kB / 0.9573 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.192e-05/0.843, allocations: 5.281 kB / 0.9573 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.843, allocations: 0 / 0.9573 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.626e-05/0.843, allocations: 2.562 kB / 0.9573 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.558e-06/0.843, allocations: 1.344 kB / 0.9573 GB, free: 5.379 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 6.386e-05/0.8431, allocations: 121.2 kB / 0.9574 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.232e-05/0.8431, allocations: 8.25 kB / 0.9574 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.446e-05/0.8432, allocations: 11.31 kB / 0.9574 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.8432, allocations: 4 kB / 0.9574 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.8432, allocations: 1.125 kB / 0.9574 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.8432, allocations: 1.312 kB / 0.9574 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000296/0.8435, allocations: 469 kB / 0.9579 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.8435, allocations: 4.969 kB / 0.9579 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.932e-05/0.8435, allocations: 3.562 kB / 0.9579 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.8435, allocations: 3.984 kB / 0.9579 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.8436, allocations: 5.688 kB / 0.9579 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.8436, allocations: 7.938 kB / 0.9579 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.8436, allocations: 1.188 kB / 0.9579 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.682e-05/0.8437, allocations: 82.02 kB / 0.958 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.302e-05/0.8437, allocations: 88.09 kB / 0.958 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.8437, allocations: 1.062 kB / 0.958 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.895e-05/0.8437, allocations: 5.281 kB / 0.9581 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.529e-05/0.8438, allocations: 0.9375 kB / 0.9581 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.8438, allocations: 1.188 kB / 0.9581 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.893e-05/0.8439, allocations: 125.5 kB / 0.9582 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8439, allocations: 0 / 0.9582 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001928/0.8441, allocations: 14.98 kB / 0.9582 GB, free: 4.418 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001114/0.8442, allocations: 95.75 kB / 0.9583 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.137e-05/0.8443, allocations: 26.83 kB / 0.9583 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.8443, allocations: 0 / 0.9583 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.958e-06/0.8443, allocations: 3.656 kB / 0.9583 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001592/0.8445, allocations: 9.578 kB / 0.9583 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003352/0.8448, allocations: 207.8 kB / 0.9585 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001773/0.845, allocations: 0.6956 MB / 0.9592 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.644e-05/0.845, allocations: 11.53 kB / 0.9592 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.845, allocations: 0 / 0.9592 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of Templates: time 0.002357/0.8474, allocations: 0.8543 MB / 0.96 GB, free: 2.949 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.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.Controls.OBC.UnitConversions.Validation.From_tonCalcHelperMain.o OMCppBuildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_tonCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_tonCalcHelperMain.o] Error 1