Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001457/0.001457, allocations: 96.14 kB / 15.87 MB, free: 16 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.001692/0.001692, allocations: 194.1 kB / 16.79 MB, free: 6.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.726/1.726, allocations: 205.1 MB / 222.6 MB, free: 4.801 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.79/1.79, allocations: 292.3 MB / 0.5491 GB, free: 13.68 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 66.34 kB / 0.6715 GB, free: 26.65 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3374/0.3389, allocations: 114.5 MB / 0.7833 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.00242/0.3414, allocations: 0.8943 MB / 0.7842 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001377/0.3416, allocations: 47.78 kB / 0.7843 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.533e-05/0.3416, allocations: 4 kB / 0.7843 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.289e-05/0.3417, allocations: 7.922 kB / 0.7843 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001028/0.3418, allocations: 3.938 kB / 0.7843 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 5.329e-05/0.3419, allocations: 19.98 kB / 0.7843 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001269/0.342, allocations: 71.77 kB / 0.7844 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001831/0.3422, allocations: 37.33 kB / 0.7844 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.6e-05/0.3423, allocations: 27.86 kB / 0.7844 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.662e-05/0.3423, allocations: 27.8 kB / 0.7845 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.134e-05/0.3423, allocations: 4 kB / 0.7845 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.342e-05/0.3424, allocations: 4 kB / 0.7845 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.901e-05/0.3424, allocations: 23.86 kB / 0.7845 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.587e-05/0.3424, allocations: 31.73 kB / 0.7845 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001068/0.3426, allocations: 60.11 kB / 0.7846 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.3426, allocations: 4 kB / 0.7846 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.402e-06/0.3426, allocations: 0 / 0.7846 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.3426, allocations: 4 kB / 0.7846 GB, free: 12.71 MB / 0.6075 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.0004927/0.3431, allocations: 391.2 kB / 0.7849 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.3431, allocations: 12.03 kB / 0.785 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.093e-05/0.3432, allocations: 12.75 kB / 0.785 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000232/0.3434, allocations: 192.2 kB / 0.7852 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.3434, allocations: 12.31 kB / 0.7852 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/0.3435, allocations: 12.38 kB / 0.7852 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.3436, allocations: 83.95 kB / 0.7853 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.3437, allocations: 4.125 kB / 0.7853 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.3437, allocations: 11.94 kB / 0.7853 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.3437, allocations: 0 / 0.7853 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.932e-05/0.3438, allocations: 39.92 kB / 0.7853 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006268/0.3444, allocations: 453.6 kB / 0.7857 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.605e-05/0.3445, allocations: 37.25 kB / 0.7858 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.574e-05/0.3445, allocations: 17.78 kB / 0.7858 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.015e-06/0.3446, allocations: 0 / 0.7858 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.3446, allocations: 38.55 kB / 0.7858 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.3446, allocations: 0 / 0.7858 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002023/0.3448, allocations: 61.48 kB / 0.7859 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.398e-05/0.3449, allocations: 77.11 kB / 0.786 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000176/0.3451, allocations: 171.3 kB / 0.7861 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.3451, allocations: 25.7 kB / 0.7862 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.782e-05/0.3452, allocations: 116.1 kB / 0.7863 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.151e-05/0.3452, allocations: 7.891 kB / 0.7863 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.544e-05/0.3452, allocations: 17.72 kB / 0.7863 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.3454, allocations: 318.8 kB / 0.7866 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.972e-05/0.3454, allocations: 8 kB / 0.7866 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.334e-05/0.3454, allocations: 21.66 kB / 0.7866 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.695e-05/0.3455, allocations: 29.72 kB / 0.7867 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3455, allocations: 3.938 kB / 0.7867 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.049e-05/0.3456, allocations: 65.53 kB / 0.7867 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.3456, allocations: 4 kB / 0.7867 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.3456, allocations: 7.938 kB / 0.7867 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.3457, allocations: 0 / 0.7867 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.223e-05/0.3457, allocations: 4 kB / 0.7867 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.3457, allocations: 0 / 0.7867 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.878e-05/0.3458, allocations: 7.906 kB / 0.7867 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.563e-06/0.3458, allocations: 8.047 kB / 0.7867 GB, free: 10.22 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001619/0.346, allocations: 113.8 kB / 0.7869 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.31e-05/0.346, allocations: 7.906 kB / 0.7869 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.817e-05/0.346, allocations: 16.5 kB / 0.7869 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.3461, allocations: 0 / 0.7869 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.3461, allocations: 4 kB / 0.7869 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3461, allocations: 3.938 kB / 0.7869 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004954/0.3466, allocations: 482.7 kB / 0.7873 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.3466, allocations: 4 kB / 0.7874 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.468e-05/0.3466, allocations: 4 kB / 0.7874 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.3466, allocations: 4 kB / 0.7874 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.427e-06/0.3466, allocations: 0 / 0.7874 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.3467, allocations: 7.922 kB / 0.7874 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3467, allocations: 0 / 0.7874 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001044/0.3468, allocations: 89.89 kB / 0.7875 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.648e-05/0.3468, allocations: 96.91 kB / 0.7875 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.3469, allocations: 0 / 0.7875 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.407e-05/0.3469, allocations: 0 / 0.7875 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.563e-05/0.3469, allocations: 96 / 0.7875 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.3469, allocations: 4 kB / 0.7875 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001152/0.347, allocations: 120 kB / 0.7877 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.347, allocations: 0 / 0.7877 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001856/0.3472, allocations: 16.03 kB / 0.7877 GB, free: 9.156 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001648/0.3474, allocations: 107.2 kB / 0.7878 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001003/0.3475, allocations: 15.98 kB / 0.7878 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3475, allocations: 4 kB / 0.7878 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.389e-05/0.3475, allocations: 4 kB / 0.7878 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000186/0.3477, allocations: 15.88 kB / 0.7878 GB, free: 9 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004494/0.3482, allocations: 222.2 kB / 0.788 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003776/0.3486, allocations: 0.6965 MB / 0.7887 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.669e-05/0.3486, allocations: 11.44 kB / 0.7887 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of SimCode: time 3.31e-07/0.3486, allocations: 0 / 0.7887 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of Templates: time 0.002638/0.3513, allocations: 0.9222 MB / 0.7896 GB, free: 7.094 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_tonCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_tonCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_tonCalcHelperMain.o] Error 1