Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006909/0.0006909, allocations: 102.6 kB / 15.71 MB, free: 460 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.0008816/0.0008817, allocations: 176.7 kB / 16.58 MB, free: 6.402 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.475/1.475, allocations: 223.2 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.477/2.477, allocations: 390.4 MB / 0.6662 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003684/0.0003686, allocations: 12 kB / 0.8154 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7807/0.7811, allocations: 142.3 MB / 0.9544 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.0009609/0.7821, allocations: 483.2 kB / 0.9549 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009062/0.783, allocations: 0.8592 MB / 0.9557 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.99e-05/0.783, allocations: 5.312 kB / 0.9557 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.19e-05/0.7831, allocations: 0 / 0.9557 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.392e-05/0.7832, allocations: 5.312 kB / 0.9557 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001474/0.7833, allocations: 38.52 kB / 0.9558 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.7834, allocations: 74.64 kB / 0.9558 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.7836, allocations: 22.59 kB / 0.9559 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.516e-05/0.7836, allocations: 31.84 kB / 0.9559 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.436e-05/0.7837, allocations: 40.27 kB / 0.9559 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.509e-05/0.7838, allocations: 4.094 kB / 0.9559 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.513e-05/0.7838, allocations: 3.656 kB / 0.9559 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.981e-05/0.7838, allocations: 18.12 kB / 0.9559 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.651e-05/0.7838, allocations: 40.2 kB / 0.956 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.227e-05/0.7839, allocations: 56.17 kB / 0.956 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.7839, allocations: 0 / 0.956 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.994e-06/0.784, allocations: 1.344 kB / 0.956 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.784, allocations: 0 / 0.956 GB, free: 6.801 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005824/0.7846, allocations: 396.8 kB / 0.9564 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.7846, allocations: 9.812 kB / 0.9564 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.926e-05/0.7847, allocations: 7.938 kB / 0.9564 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.7848, allocations: 175.6 kB / 0.9566 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.7848, allocations: 7 kB / 0.9566 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.912e-05/0.7848, allocations: 3.438 kB / 0.9566 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000293/0.7851, allocations: 117.1 kB / 0.9567 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.7852, allocations: 7.922 kB / 0.9567 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.7852, allocations: 5.406 kB / 0.9567 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.7852, allocations: 5.359 kB / 0.9567 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003534/0.7855, allocations: 118.3 kB / 0.9569 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004765/0.786, allocations: 346.8 kB / 0.9572 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000622/0.7867, allocations: 131.9 kB / 0.9573 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000223/0.7869, allocations: 68.16 kB / 0.9574 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.508e-05/0.787, allocations: 1.438 kB / 0.9574 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.787, allocations: 32.72 kB / 0.9574 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.624e-06/0.787, allocations: 0 / 0.9574 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0007305/0.7877, allocations: 220.3 kB / 0.9576 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/0.7878, allocations: 52.56 kB / 0.9577 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001619/0.788, allocations: 121.3 kB / 0.9578 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.788, allocations: 33.64 kB / 0.9578 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.903e-05/0.7881, allocations: 96 kB / 0.9579 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.319e-05/0.7881, allocations: 25.92 kB / 0.9579 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.314e-06/0.7881, allocations: 0 / 0.9579 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.7882, allocations: 321.1 kB / 0.9582 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001939/0.7884, allocations: 53.14 kB / 0.9583 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001943/0.7886, allocations: 62.61 kB / 0.9583 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001994/0.7888, allocations: 57.83 kB / 0.9584 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.7888, allocations: 0 / 0.9584 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004159/0.7893, allocations: 159 kB / 0.9586 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.7893, allocations: 10.84 kB / 0.9586 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.7893, allocations: 0 / 0.9586 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.7893, allocations: 1.156 kB / 0.9586 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.7895, allocations: 28.69 kB / 0.9586 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.7895, allocations: 0 / 0.9586 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.7896, allocations: 24.31 kB / 0.9586 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.7897, allocations: 6 kB / 0.9586 GB, free: 4.602 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (min1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 8.882e-05/0.7898, allocations: 114.2 kB / 0.9587 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.217e-05/0.7898, allocations: 10.92 kB / 0.9587 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004551/0.7902, allocations: 175.4 kB / 0.9589 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.7903, allocations: 0 / 0.9589 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.7903, allocations: 4 kB / 0.9589 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.7903, allocations: 2 kB / 0.9589 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001807/0.7905, allocations: 198.8 kB / 0.9591 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.7905, allocations: 0 / 0.9591 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001464/0.7906, allocations: 28.81 kB / 0.9591 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.7906, allocations: 5.391 kB / 0.9591 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.7907, allocations: 1.469 kB / 0.9591 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.7907, allocations: 0 / 0.9591 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.7907, allocations: 4 kB / 0.9591 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004549/0.7911, allocations: 255.7 kB / 0.9594 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.499e-05/0.7912, allocations: 82.67 kB / 0.9595 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.178e-05/0.7912, allocations: 9.141 kB / 0.9595 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/0.7913, allocations: 22.62 kB / 0.9595 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.081e-05/0.7914, allocations: 19.55 kB / 0.9595 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.7915, allocations: 9.766 kB / 0.9595 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.243e-05/0.7915, allocations: 98.17 kB / 0.9596 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7915, allocations: 0 / 0.9596 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002308/0.7917, allocations: 22.78 kB / 0.9596 GB, free: 3.707 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (min1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001301/0.7919, allocations: 98.03 kB / 0.9597 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003926/0.7923, allocations: 127.8 kB / 0.9599 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.7923, allocations: 0 / 0.9599 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001867/0.7925, allocations: 76.73 kB / 0.9599 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.7928, allocations: 6.75 kB / 0.9599 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003883/0.7932, allocations: 216.3 kB / 0.9601 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001416/0.7933, allocations: 0.6955 MB / 0.9608 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.921e-05/0.7934, allocations: 16.92 kB / 0.9608 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.7934, allocations: 0 / 0.9608 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of Templates: time 0.003005/0.7964, allocations: 1.227 MB / 0.962 GB, free: 1.984 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.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_9_Buildings.Controls.OBC.CDL.Integers.Validation.MinCalcHelperMain.o OMCppBuildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MinCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MinCalcHelperMain.o] Error 1