Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Product.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.CDL.Integers.Validation.Product,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Product") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Product,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Product") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 92.55 kB / 16.02 MB, free: 80 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.002194/0.002194, allocations: 176.4 kB / 16.92 MB, free: 6.652 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.964/1.964, allocations: 205.4 MB / 223.1 MB, free: 5.473 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.863/1.863, allocations: 292.7 MB / 0.5509 GB, free: 14.47 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.000585/0.000585, allocations: 19.41 kB / 0.675 GB, free: 25.7 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.3287, allocations: 116.3 MB / 0.7885 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Product): time 0.002599/0.3314, allocations: 1.702 MB / 0.7902 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001771/0.3332, allocations: 1.074 MB / 0.7913 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.679e-05/0.3333, allocations: 4 kB / 0.7913 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004434/0.3337, allocations: 155.6 kB / 0.7914 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003013/0.334, allocations: 139.5 kB / 0.7915 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004117/0.3345, allocations: 164.8 kB / 0.7917 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003606/0.3348, allocations: 303 kB / 0.792 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001546/0.335, allocations: 40.39 kB / 0.792 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001755/0.3352, allocations: 123.4 kB / 0.7921 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001941/0.3354, allocations: 139.4 kB / 0.7923 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.754e-05/0.3354, allocations: 7.938 kB / 0.7923 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001302/0.3355, allocations: 47.97 kB / 0.7923 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001209/0.3357, allocations: 83.73 kB / 0.7924 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001314/0.3358, allocations: 140.8 kB / 0.7925 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003117/0.3361, allocations: 283.5 kB / 0.7928 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3361, allocations: 0 / 0.7928 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3362, allocations: 0 / 0.7928 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.3362, allocations: 0 / 0.7928 GB, free: 7.191 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009691/0.3371, allocations: 0.5681 MB / 0.7934 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.3372, allocations: 16.03 kB / 0.7934 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.309e-05/0.3373, allocations: 36.45 kB / 0.7934 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005306/0.3378, allocations: 374.4 kB / 0.7938 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.387e-05/0.3379, allocations: 8.375 kB / 0.7938 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.373e-05/0.3379, allocations: 11.92 kB / 0.7938 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002568/0.3381, allocations: 109.5 kB / 0.7939 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.3382, allocations: 4 kB / 0.7939 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.3382, allocations: 0 / 0.7939 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.3382, allocations: 0 / 0.7939 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001678/0.3384, allocations: 70.86 kB / 0.794 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008018/0.3392, allocations: 496.4 kB / 0.7944 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003517/0.3395, allocations: 142.7 kB / 0.7946 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001296/0.3397, allocations: 52.83 kB / 0.7946 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.51e-05/0.3397, allocations: 3.938 kB / 0.7946 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002478/0.34, allocations: 106.7 kB / 0.7947 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 3.657e-06/0.34, allocations: 0 / 0.7947 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0005276/0.3405, allocations: 229.2 kB / 0.795 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.3406, allocations: 59.34 kB / 0.795 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005928/0.3412, allocations: 0.5054 MB / 0.7955 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.789e-05/0.3412, allocations: 33.7 kB / 0.7955 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.3414, allocations: 164.4 kB / 0.7957 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.927e-05/0.3414, allocations: 35.55 kB / 0.7957 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.258e-05/0.3415, allocations: 33.7 kB / 0.7958 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.3417, allocations: 350.8 kB / 0.7961 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001889/0.3419, allocations: 100.5 kB / 0.7962 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002231/0.3421, allocations: 135.6 kB / 0.7963 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003335/0.3424, allocations: 179.5 kB / 0.7965 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.3424, allocations: 4 kB / 0.7965 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005273/0.343, allocations: 321.2 kB / 0.7968 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.343, allocations: 4 kB / 0.7968 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.343, allocations: 4 kB / 0.7968 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.343, allocations: 0 / 0.7968 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002237/0.3433, allocations: 59.84 kB / 0.7969 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.3433, allocations: 4 kB / 0.7969 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001366/0.3434, allocations: 19.83 kB / 0.7969 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.255e-05/0.3435, allocations: 8 kB / 0.7969 GB, free: 2.77 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt2.y,reaToInt1.y,product.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0002138/0.3437, allocations: 194.4 kB / 0.7971 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.186e-05/0.3438, allocations: 31.53 kB / 0.7971 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.665e-05/0.3438, allocations: 43.06 kB / 0.7972 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.3439, allocations: 3.938 kB / 0.7972 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.3439, allocations: 3.938 kB / 0.7972 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3439, allocations: 0 / 0.7972 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002915/0.3442, allocations: 301.4 kB / 0.7975 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3442, allocations: 0 / 0.7975 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.386e-05/0.3443, allocations: 19.92 kB / 0.7975 GB, free: 2.125 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3443, allocations: 4 kB / 0.7975 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.3443, allocations: 4 kB / 0.7975 GB, free: 2.117 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.3443, allocations: 3.938 kB / 0.7975 GB, free: 2.113 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3443, allocations: 0 / 0.7975 GB, free: 2.113 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003628/0.3447, allocations: 204.7 kB / 0.7977 GB, free: 1.895 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/0.3448, allocations: 124.6 kB / 0.7978 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.151e-05/0.3448, allocations: 8 kB / 0.7978 GB, free: 1.746 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.34e-05/0.3449, allocations: 11.94 kB / 0.7978 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.841e-05/0.345, allocations: 19.97 kB / 0.7978 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.345, allocations: 8 kB / 0.7978 GB, free: 1.707 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003613/0.3454, allocations: 315.1 kB / 0.7981 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3454, allocations: 0 / 0.7981 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003192/0.3457, allocations: 56 kB / 0.7982 GB, free: 1.348 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,product.y,reaToInt1.y,reaToInt2.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001188/0.3469, allocations: 418.3 kB / 0.7986 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004364/0.3474, allocations: 191.9 kB / 0.7988 GB, free: 0.9023 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3474, allocations: 0 / 0.7988 GB, free: 0.9023 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001487/0.3476, allocations: 70.64 kB / 0.7988 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004876/0.3481, allocations: 89.47 kB / 0.7989 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009597/0.349, allocations: 0.6291 MB / 0.7995 GB, free: 92 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004535/0.3495, allocations: 0.787 MB / 0.8003 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.185e-05/0.3496, allocations: 31.42 kB / 0.8003 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of SimCode: time 2.8e-07/0.3496, allocations: 0 / 0.8003 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of Templates: time 0.007153/0.3567, allocations: 4.326 MB / 0.8046 GB, free: 10.93 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Product.makefile make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Product.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.CDL.Integers.Validation.ProductCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.ProductCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.ProductCalcHelperMain.o] Error 1