Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.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_gal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001439/0.001439, 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.00189/0.001891, allocations: 194.8 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.825/1.825, allocations: 205.1 MB / 222.6 MB, free: 4.715 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.865/1.865, allocations: 292.3 MB / 0.5491 GB, free: 13.66 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.001428/0.001428, allocations: 67.31 kB / 0.6715 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3326/0.334, allocations: 114.6 MB / 0.7833 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002571/0.3367, allocations: 0.9021 MB / 0.7842 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001366/0.3368, allocations: 47.77 kB / 0.7843 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.096e-05/0.3369, allocations: 4 kB / 0.7843 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.736e-05/0.337, allocations: 7.938 kB / 0.7843 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001309/0.3371, allocations: 3.938 kB / 0.7843 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 5.682e-05/0.3372, allocations: 19.98 kB / 0.7843 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001109/0.3373, allocations: 59.84 kB / 0.7844 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001639/0.3375, allocations: 45.31 kB / 0.7844 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.836e-05/0.3375, allocations: 27.86 kB / 0.7844 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.757e-05/0.3376, allocations: 31.78 kB / 0.7845 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.3376, allocations: 4 kB / 0.7845 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.31e-05/0.3377, allocations: 4 kB / 0.7845 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.473e-05/0.3377, allocations: 15.88 kB / 0.7845 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.396e-05/0.3377, allocations: 35.73 kB / 0.7845 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001027/0.3379, allocations: 64.09 kB / 0.7846 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.3379, allocations: 0 / 0.7846 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.51e-07/0.3379, allocations: 4 kB / 0.7846 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.3379, allocations: 0 / 0.7846 GB, free: 12.73 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.0005519/0.3384, allocations: 395.1 kB / 0.785 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.3385, allocations: 12.03 kB / 0.785 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.123e-05/0.3385, allocations: 12.75 kB / 0.785 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002504/0.3388, allocations: 196.2 kB / 0.7852 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.819e-06/0.3388, allocations: 384 / 0.7852 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.875e-05/0.3388, allocations: 12.38 kB / 0.7852 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001698/0.339, allocations: 92.83 kB / 0.7853 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.339, allocations: 4.125 kB / 0.7853 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.3391, allocations: 7.938 kB / 0.7853 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.3391, allocations: 4 kB / 0.7853 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.625e-05/0.3392, allocations: 39.97 kB / 0.7853 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006273/0.3398, allocations: 449.6 kB / 0.7857 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.488e-05/0.3399, allocations: 45.2 kB / 0.7858 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.037e-05/0.3399, allocations: 9.719 kB / 0.7858 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/0.3399, allocations: 8.094 kB / 0.7858 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.34, allocations: 34.56 kB / 0.7858 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.34, allocations: 0 / 0.7858 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001876/0.3402, allocations: 61.48 kB / 0.7859 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.487e-05/0.3402, allocations: 81.09 kB / 0.786 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001723/0.3404, allocations: 167.3 kB / 0.7861 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.3404, allocations: 25.7 kB / 0.7862 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.858e-05/0.3405, allocations: 111.9 kB / 0.7863 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.077e-06/0.3405, allocations: 12.16 kB / 0.7863 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.401e-05/0.3406, allocations: 17.72 kB / 0.7863 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.3407, allocations: 318.8 kB / 0.7866 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.141e-05/0.3407, allocations: 8 kB / 0.7866 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.579e-05/0.3408, allocations: 21.7 kB / 0.7866 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.35e-05/0.3408, allocations: 29.66 kB / 0.7867 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3408, allocations: 4 kB / 0.7867 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.974e-05/0.3409, allocations: 57.61 kB / 0.7867 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.341, allocations: 4 kB / 0.7867 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.341, allocations: 3.938 kB / 0.7867 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.341, allocations: 4 kB / 0.7867 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.441e-05/0.3411, allocations: 11.92 kB / 0.7867 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.3411, allocations: 3.938 kB / 0.7867 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.303e-05/0.3411, allocations: 7.906 kB / 0.7867 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.3411, allocations: 0 / 0.7867 GB, free: 10.24 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 9.753e-05/0.3412, allocations: 118.6 kB / 0.7869 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.117e-05/0.3413, allocations: 7.906 kB / 0.7869 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.484e-05/0.3413, allocations: 24.56 kB / 0.7869 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-06/0.3413, allocations: 0 / 0.7869 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.3414, allocations: 0 / 0.7869 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.3414, allocations: 7.938 kB / 0.7869 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004565/0.3418, allocations: 478.7 kB / 0.7874 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3418, allocations: 0 / 0.7874 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.514e-05/0.3419, allocations: 8 kB / 0.7874 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.3419, allocations: 3.984 kB / 0.7874 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.3419, allocations: 8 kB / 0.7874 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.3419, allocations: 0 / 0.7874 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3419, allocations: 0 / 0.7874 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001087/0.342, allocations: 85.84 kB / 0.7875 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.789e-05/0.3421, allocations: 92.91 kB / 0.7875 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.3421, allocations: 4 kB / 0.7875 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.339e-05/0.3421, allocations: 0 / 0.7875 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.555e-05/0.3422, allocations: 0 / 0.7875 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.3422, allocations: 0 / 0.7875 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001184/0.3423, allocations: 128 kB / 0.7877 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3423, allocations: 0 / 0.7877 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001978/0.3425, allocations: 11.98 kB / 0.7877 GB, free: 9.168 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.0001467/0.3427, allocations: 99.28 kB / 0.7878 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.79e-05/0.3428, allocations: 19.94 kB / 0.7878 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3428, allocations: 0 / 0.7878 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.499e-05/0.3428, allocations: 8 kB / 0.7878 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001788/0.343, allocations: 11.03 kB / 0.7878 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004138/0.3434, allocations: 226.2 kB / 0.788 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003706/0.3438, allocations: 0.6965 MB / 0.7887 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.112e-05/0.3438, allocations: 19.38 kB / 0.7887 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.3438, allocations: 0 / 0.7887 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of Templates: time 0.002743/0.3466, allocations: 0.9144 MB / 0.7896 GB, free: 7.113 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.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_galCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_galCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_galCalcHelperMain.o] Error 1