Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.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.CDL.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u.1.|add1.u.2.|add1.u.3.|add1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u.1.|add1.u.2.|add1.u.3.|add1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008354/0.0008356, allocations: 99.36 kB / 15.71 MB, free: 452 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.0009134/0.0009134, allocations: 175.9 kB / 16.58 MB, free: 6.422 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.495/1.495, allocations: 223.2 MB / 240.6 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.817/2.817, allocations: 436.7 MB / 0.7113 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004028/0.0004028, allocations: 8 kB / 0.8717 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8274/0.8278, allocations: 153.7 MB / 1.022 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001111/0.8289, allocations: 0.5439 MB / 1.022 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001031/0.83, allocations: 0.8858 MB / 1.023 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.812e-05/0.8301, allocations: 4 kB / 1.023 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 9.326e-05/0.8302, allocations: 3.938 kB / 1.023 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001066/0.8303, allocations: 11.86 kB / 1.023 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001634/0.8304, allocations: 51.94 kB / 1.023 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001746/0.8306, allocations: 111.7 kB / 1.023 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.8308, allocations: 41.27 kB / 1.023 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.934e-05/0.8309, allocations: 43.78 kB / 1.023 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001275/0.831, allocations: 67.78 kB / 1.023 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.681e-05/0.831, allocations: 4 kB / 1.023 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.174e-05/0.8311, allocations: 11.94 kB / 1.023 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.916e-05/0.8311, allocations: 27.83 kB / 1.023 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.833e-05/0.8312, allocations: 41.64 kB / 1.024 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000114/0.8313, allocations: 91.78 kB / 1.024 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.8313, allocations: 0 / 1.024 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8313, allocations: 0 / 1.024 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.8313, allocations: 0 / 1.024 GB, free: 15.18 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007878/0.8321, allocations: 444.8 kB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.8322, allocations: 11.98 kB / 1.024 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.092e-05/0.8322, allocations: 11.91 kB / 1.024 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002338/0.8325, allocations: 204.5 kB / 1.024 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.8325, allocations: 4 kB / 1.024 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.602e-05/0.8325, allocations: 15.95 kB / 1.024 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000436/0.833, allocations: 161.5 kB / 1.024 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.833, allocations: 0 / 1.024 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.395e-05/0.833, allocations: 7.984 kB / 1.024 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.894e-06/0.833, allocations: 4 kB / 1.024 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005562/0.8336, allocations: 183.8 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006932/0.8343, allocations: 428.5 kB / 1.025 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008364/0.8351, allocations: 186.5 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002884/0.8354, allocations: 104.9 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/0.8355, allocations: 4 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.8355, allocations: 34.56 kB / 1.025 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 3.616e-06/0.8355, allocations: 0 / 1.025 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.001003/0.8365, allocations: 333.2 kB / 1.026 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.309e-05/0.8366, allocations: 51.41 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.8367, allocations: 154 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.8368, allocations: 25.7 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.528e-05/0.8368, allocations: 108 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.844e-05/0.8369, allocations: 31.55 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.009e-05/0.8369, allocations: 4.375 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.8371, allocations: 322.8 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000269/0.8374, allocations: 87.92 kB / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002654/0.8376, allocations: 99.86 kB / 1.027 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002616/0.8379, allocations: 95.81 kB / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.8379, allocations: 0 / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005758/0.8385, allocations: 229.5 kB / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.8385, allocations: 8 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.8385, allocations: 0 / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.8385, allocations: 3.938 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002462/0.8388, allocations: 47.95 kB / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.8388, allocations: 7.984 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001678/0.839, allocations: 31.88 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.839, allocations: 0 / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 0.0001165/0.8391, allocations: 125.8 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.374e-05/0.8392, allocations: 7.906 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.918e-05/0.8392, allocations: 24.7 kB / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.8392, allocations: 0 / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.8392, allocations: 3.984 kB / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.8393, allocations: 0 / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002707/0.8395, allocations: 229.6 kB / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.8395, allocations: 3.953 kB / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002271/0.8398, allocations: 51.89 kB / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.8398, allocations: 4 kB / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.8398, allocations: 3.938 kB / 1.027 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.8398, allocations: 4 kB / 1.027 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.8398, allocations: 0 / 1.027 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006634/0.8405, allocations: 343.4 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.522e-05/0.8406, allocations: 88.91 kB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.429e-05/0.8406, allocations: 4 kB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000184/0.8408, allocations: 23.97 kB / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.709e-05/0.8409, allocations: 35.95 kB / 1.028 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.8409, allocations: 3.984 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.288e-05/0.841, allocations: 114.1 kB / 1.028 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.841, allocations: 0 / 1.028 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002479/0.8412, allocations: 24 kB / 1.028 GB, free: 10.42 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0001432/0.8414, allocations: 107.2 kB / 1.028 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000595/0.842, allocations: 199.8 kB / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.842, allocations: 0 / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002886/0.8423, allocations: 119.8 kB / 1.028 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002895/0.8426, allocations: 8 kB / 1.028 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005445/0.8432, allocations: 294.9 kB / 1.029 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002956/0.8435, allocations: 0.7004 MB / 1.029 GB, free: 8.941 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.658e-05/0.8436, allocations: 19.42 kB / 1.029 GB, free: 8.922 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.8436, allocations: 0 / 1.029 GB, free: 8.922 MB / 0.7794 GB Notification: Performance of Templates: time 0.0035/0.8471, allocations: 1.81 MB / 1.031 GB, free: 7.129 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.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.CDL.Integers.Validation.MultiSumCalcHelperMain.o OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSumCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSumCalcHelperMain.o] Error 1