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.0008484/0.0008485, allocations: 99.19 kB / 16.02 MB, free: 76 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.001018/0.001018, allocations: 186.3 kB / 16.92 MB, free: 6.75 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.87/1.87, allocations: 205.4 MB / 223.1 MB, free: 5.547 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.84/1.84, allocations: 292.7 MB / 0.5509 GB, free: 14.49 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.0006675/0.000668, allocations: 21.66 kB / 0.675 GB, free: 25.74 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3329, allocations: 116.3 MB / 0.7885 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.001139/0.3341, allocations: 0.5671 MB / 0.7891 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000131/0.3343, allocations: 47.78 kB / 0.7891 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.672e-05/0.3343, allocations: 0 / 0.7891 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.369e-05/0.3344, allocations: 3.938 kB / 0.7891 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001039/0.3345, allocations: 15.92 kB / 0.7892 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 4.583e-05/0.3345, allocations: 11.98 kB / 0.7892 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001057/0.3346, allocations: 71.72 kB / 0.7892 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000154/0.3348, allocations: 41.39 kB / 0.7893 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.531e-05/0.3349, allocations: 11.88 kB / 0.7893 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.249e-05/0.3349, allocations: 27.73 kB / 0.7893 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.453e-05/0.335, allocations: 4 kB / 0.7893 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.424e-06/0.335, allocations: 0 / 0.7893 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.619e-05/0.335, allocations: 15.92 kB / 0.7893 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.329e-05/0.3351, allocations: 53.44 kB / 0.7894 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.547e-05/0.3351, allocations: 60.09 kB / 0.7894 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3352, allocations: 0 / 0.7894 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3352, allocations: 0 / 0.7894 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.3352, allocations: 8 kB / 0.7894 GB, free: 10.67 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.0004216/0.3356, allocations: 367.2 kB / 0.7898 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.3357, allocations: 12.02 kB / 0.7898 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.701e-05/0.3357, allocations: 8.844 kB / 0.7898 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002085/0.3359, allocations: 200.1 kB / 0.79 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.3359, allocations: 4.375 kB / 0.79 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.724e-05/0.336, allocations: 8.375 kB / 0.79 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.3361, allocations: 103.8 kB / 0.7901 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.3361, allocations: 192 / 0.7901 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.3362, allocations: 7.875 kB / 0.7901 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.3362, allocations: 4 kB / 0.7901 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.691e-05/0.3363, allocations: 39.92 kB / 0.7902 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000589/0.3369, allocations: 448.5 kB / 0.7906 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.938e-05/0.337, allocations: 46.33 kB / 0.7906 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.301e-05/0.337, allocations: 13.84 kB / 0.7907 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.014e-05/0.337, allocations: 0 / 0.7907 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/0.337, allocations: 38.56 kB / 0.7907 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.3371, allocations: 0 / 0.7907 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001971/0.3373, allocations: 61.47 kB / 0.7907 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.3373, allocations: 81.11 kB / 0.7908 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.3375, allocations: 167.3 kB / 0.791 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.3375, allocations: 25.7 kB / 0.791 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.235e-05/0.3376, allocations: 108 kB / 0.7911 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.494e-06/0.3376, allocations: 4.156 kB / 0.7911 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.543e-05/0.3376, allocations: 21.72 kB / 0.7911 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.3377, allocations: 318.8 kB / 0.7914 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.987e-05/0.3378, allocations: 7.938 kB / 0.7914 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.548e-05/0.3378, allocations: 25.7 kB / 0.7915 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.713e-05/0.3379, allocations: 29.66 kB / 0.7915 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3379, allocations: 0 / 0.7915 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.675e-05/0.338, allocations: 65.55 kB / 0.7916 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.338, allocations: 4 kB / 0.7916 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.338, allocations: 7.922 kB / 0.7916 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.338, allocations: 4 kB / 0.7916 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.433e-05/0.3381, allocations: 4 kB / 0.7916 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.3381, allocations: 0 / 0.7916 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.496e-05/0.3382, allocations: 7.906 kB / 0.7916 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-06/0.3382, allocations: 0 / 0.7916 GB, free: 8.207 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 8.542e-05/0.3383, allocations: 118.6 kB / 0.7917 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.132e-05/0.3383, allocations: 7.906 kB / 0.7917 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.131e-05/0.3383, allocations: 20.48 kB / 0.7917 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.3383, allocations: 0 / 0.7917 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3384, allocations: 0 / 0.7917 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.3384, allocations: 4 kB / 0.7917 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003803/0.3387, allocations: 478.6 kB / 0.7922 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.3388, allocations: 4.062 kB / 0.7922 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.067e-05/0.3388, allocations: 11.92 kB / 0.7922 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3388, allocations: 0 / 0.7922 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.3388, allocations: 4 kB / 0.7922 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3388, allocations: 0 / 0.7922 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3388, allocations: 0 / 0.7922 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.137e-05/0.3389, allocations: 85.75 kB / 0.7923 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.912e-05/0.339, allocations: 93.03 kB / 0.7924 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.339, allocations: 4 kB / 0.7924 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.52e-05/0.339, allocations: 4 kB / 0.7924 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.181e-05/0.339, allocations: 0 / 0.7924 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-06/0.339, allocations: 0 / 0.7924 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.92e-05/0.3392, allocations: 127.9 kB / 0.7925 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3392, allocations: 3.938 kB / 0.7925 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001839/0.3393, allocations: 8 kB / 0.7925 GB, free: 7.141 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.0001287/0.3395, allocations: 103.2 kB / 0.7926 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.832e-05/0.3396, allocations: 16 kB / 0.7926 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3396, allocations: 0 / 0.7926 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.388e-05/0.3396, allocations: 7.938 kB / 0.7926 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001733/0.3398, allocations: 14.91 kB / 0.7927 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003472/0.3401, allocations: 218.2 kB / 0.7929 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002701/0.3404, allocations: 0.7004 MB / 0.7935 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.064e-05/0.3405, allocations: 11.44 kB / 0.7936 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of SimCode: time 4.11e-07/0.3405, allocations: 4 kB / 0.7936 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of Templates: time 0.002299/0.3428, allocations: 0.9066 MB / 0.7944 GB, free: 5.098 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