Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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 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.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 103 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.001436/0.001436, allocations: 177.8 kB / 16.58 MB, free: 6.109 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.478/1.478, allocations: 223.2 MB / 240.6 MB, free: 5.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.665/2.665, allocations: 436.7 MB / 0.7113 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004097/0.0004097, allocations: 15.98 kB / 0.8717 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8655/0.866, allocations: 153.7 MB / 1.022 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.001055/0.8671, allocations: 0.5201 MB / 1.022 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001148/0.8672, allocations: 43.78 kB / 1.022 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.553e-05/0.8673, allocations: 0 / 1.022 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.441e-05/0.8673, allocations: 7.922 kB / 1.022 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.009e-05/0.8674, allocations: 3.938 kB / 1.022 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.314e-05/0.8674, allocations: 11.98 kB / 1.022 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001043/0.8676, allocations: 59.84 kB / 1.022 GB, free: 452 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.8677, allocations: 36.14 kB / 1.022 GB, free: 412 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.823e-05/0.8678, allocations: 19.86 kB / 1.022 GB, free: 392 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.445e-05/0.8678, allocations: 15.88 kB / 1.022 GB, free: 376 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.31e-05/0.8678, allocations: 0 / 1.022 GB, free: 376 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.009e-05/0.8679, allocations: 4 kB / 1.022 GB, free: 372 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.746e-05/0.8679, allocations: 15.92 kB / 1.022 GB, free: 356 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.033e-05/0.8679, allocations: 37.64 kB / 1.022 GB, free: 312 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.791e-05/0.868, allocations: 51.88 kB / 1.023 GB, free: 260 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.868, allocations: 0 / 1.023 GB, free: 260 kB / 0.7637 GB Notification: Performance of FrontEnd: time 2.064e-06/0.868, allocations: 3.938 kB / 1.023 GB, free: 256 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.014e-06/0.868, allocations: 0 / 1.023 GB, free: 256 kB / 0.7637 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.0004554/0.8685, allocations: 365.1 kB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.439e-05/0.8686, allocations: 11.98 kB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.864e-05/0.8686, allocations: 11.81 kB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002538/0.8689, allocations: 198.9 kB / 1.023 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.8689, allocations: 0 / 1.023 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.889e-05/0.8689, allocations: 12 kB / 1.023 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.8691, allocations: 93.44 kB / 1.023 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.8691, allocations: 0 / 1.023 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.8691, allocations: 4 kB / 1.023 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.8691, allocations: 4 kB / 1.023 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.633e-05/0.8692, allocations: 35.92 kB / 1.023 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005754/0.8698, allocations: 436.6 kB / 1.024 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.286e-05/0.8699, allocations: 45.28 kB / 1.024 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.016e-05/0.8699, allocations: 17.78 kB / 1.024 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.062e-05/0.8699, allocations: 0 / 1.024 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.87, allocations: 34.56 kB / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.87, allocations: 0 / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001792/0.8702, allocations: 61.48 kB / 1.024 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.692e-05/0.8702, allocations: 77.36 kB / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.8704, allocations: 163.5 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.8704, allocations: 29.7 kB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.148e-05/0.8705, allocations: 107.9 kB / 1.024 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.191e-05/0.8705, allocations: 15.78 kB / 1.024 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.454e-06/0.8705, allocations: 0 / 1.024 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.8707, allocations: 314.8 kB / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.989e-05/0.8707, allocations: 11.98 kB / 1.024 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.534e-05/0.8707, allocations: 17.72 kB / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.63e-05/0.8708, allocations: 8 kB / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.8708, allocations: 0 / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.942e-05/0.8709, allocations: 61.53 kB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.8709, allocations: 7.938 kB / 1.025 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.8709, allocations: 0 / 1.025 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.8709, allocations: 3.953 kB / 1.025 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.441e-05/0.871, allocations: 12 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.871, allocations: 0 / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.641e-05/0.871, allocations: 8.062 kB / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.509e-06/0.8711, allocations: 0 / 1.025 GB, free: 13.88 MB / 0.7794 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 8.012e-05/0.8711, allocations: 113.8 kB / 1.025 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.226e-05/0.8712, allocations: 11.89 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.617e-05/0.8712, allocations: 7.875 kB / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.8712, allocations: 0 / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.8712, allocations: 3.953 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.8713, allocations: 0 / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004022/0.8717, allocations: 474.7 kB / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.8717, allocations: 0 / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.814e-05/0.8717, allocations: 4 kB / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.8717, allocations: 3.953 kB / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.074e-06/0.8717, allocations: 0 / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.8717, allocations: 7.984 kB / 1.025 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.8717, allocations: 3.938 kB / 1.025 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.944e-05/0.8718, allocations: 77.97 kB / 1.025 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.691e-05/0.8719, allocations: 89 kB / 1.025 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.8719, allocations: 7.953 kB / 1.025 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.845e-05/0.8719, allocations: 0 / 1.025 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.586e-05/0.872, allocations: 4.031 kB / 1.025 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.872, allocations: 4 kB / 1.025 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.792e-05/0.8721, allocations: 120.9 kB / 1.026 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8721, allocations: 0 / 1.026 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000182/0.8723, allocations: 15.94 kB / 1.026 GB, free: 12.84 MB / 0.7794 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.0001337/0.8724, allocations: 99.23 kB / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.152e-05/0.8725, allocations: 23.92 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.8725, allocations: 0 / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.02e-05/0.8725, allocations: 4 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001589/0.8727, allocations: 8.25 kB / 1.026 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003636/0.873, allocations: 208.1 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/0.8734, allocations: 0.6965 MB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.869e-05/0.8734, allocations: 11.44 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.8734, allocations: 0 / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of Templates: time 0.002306/0.8757, allocations: 0.8443 MB / 1.027 GB, free: 10.87 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_tonCalcHelperMain.o OMCppBuildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_tonCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_tonCalcHelperMain.o] Error 1