Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.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.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009666/0.0009667, allocations: 102.9 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.0008649/0.000865, allocations: 175.8 kB / 16.58 MB, free: 6.863 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.45/1.45, 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.473/2.473, allocations: 390.4 MB / 0.6662 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003975/0.0003975, allocations: 12 kB / 0.8154 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.815/0.8154, allocations: 142.3 MB / 0.9544 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.000973/0.8165, allocations: 478.7 kB / 0.9549 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001008/0.8175, allocations: 0.8557 MB / 0.9557 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.777e-05/0.8175, allocations: 1.531 kB / 0.9557 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.282e-05/0.8176, allocations: 3.938 kB / 0.9557 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.253e-05/0.8177, allocations: 9.422 kB / 0.9557 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001705/0.8178, allocations: 46.52 kB / 0.9558 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000111/0.818, allocations: 71.7 kB / 0.9559 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.8181, allocations: 17.52 kB / 0.9559 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.301e-05/0.8182, allocations: 27.59 kB / 0.9559 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.754e-05/0.8183, allocations: 45.2 kB / 0.9559 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.538e-05/0.8183, allocations: 2.938 kB / 0.9559 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.747e-05/0.8183, allocations: 7.906 kB / 0.9559 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.373e-05/0.8183, allocations: 18.5 kB / 0.956 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.07e-05/0.8184, allocations: 36.02 kB / 0.956 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.222e-05/0.8185, allocations: 56.47 kB / 0.9561 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.8185, allocations: 0 / 0.9561 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.893e-06/0.8185, allocations: 0 / 0.9561 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.8185, allocations: 1.406 kB / 0.9561 GB, free: 6.754 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.0005563/0.8191, allocations: 397.8 kB / 0.9564 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.8191, allocations: 8.344 kB / 0.9564 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.823e-05/0.8192, allocations: 7.438 kB / 0.9564 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.8193, allocations: 175.6 kB / 0.9566 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.8193, allocations: 4.062 kB / 0.9566 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.716e-05/0.8193, allocations: 8 kB / 0.9566 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000296/0.8196, allocations: 117.1 kB / 0.9567 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.8197, allocations: 0 / 0.9567 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.8197, allocations: 1.156 kB / 0.9567 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.8197, allocations: 6.047 kB / 0.9567 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003635/0.8201, allocations: 117.6 kB / 0.9569 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004837/0.8205, allocations: 343.2 kB / 0.9572 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005625/0.8211, allocations: 143.4 kB / 0.9573 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001909/0.8213, allocations: 65.22 kB / 0.9574 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.998e-05/0.8214, allocations: 1.062 kB / 0.9574 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/0.8214, allocations: 35.44 kB / 0.9574 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.8214, allocations: 0 / 0.9574 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.000636/0.822, allocations: 212.7 kB / 0.9576 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/0.8221, allocations: 52.72 kB / 0.9577 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.779e-05/0.8222, allocations: 121.4 kB / 0.9578 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.8222, allocations: 30.62 kB / 0.9578 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.93e-05/0.8222, allocations: 99.05 kB / 0.9579 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.186e-05/0.8223, allocations: 17.75 kB / 0.9579 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.474e-06/0.8223, allocations: 5.031 kB / 0.9579 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.248e-05/0.8223, allocations: 316.8 kB / 0.9582 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001771/0.8225, allocations: 57.45 kB / 0.9583 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001675/0.8227, allocations: 62.09 kB / 0.9583 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001676/0.8229, allocations: 57.77 kB / 0.9584 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.8229, allocations: 0 / 0.9584 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003837/0.8233, allocations: 168 kB / 0.9586 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.8233, allocations: 8.391 kB / 0.9586 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.8233, allocations: 0 / 0.9586 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.8233, allocations: 1.219 kB / 0.9586 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/0.8235, allocations: 29.38 kB / 0.9586 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.8235, allocations: 4 kB / 0.9586 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.8236, allocations: 16.95 kB / 0.9586 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.8236, allocations: 1.438 kB / 0.9586 GB, free: 4.566 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 (max1.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 7.155e-05/0.8237, allocations: 113.2 kB / 0.9587 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.041e-05/0.8237, allocations: 14.91 kB / 0.9587 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004307/0.8242, allocations: 174.9 kB / 0.9589 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.8242, allocations: 5.375 kB / 0.9589 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.8242, allocations: 0 / 0.9589 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.8242, allocations: 3.984 kB / 0.9589 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001923/0.8244, allocations: 199.7 kB / 0.9591 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.8244, allocations: 1.438 kB / 0.9591 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001496/0.8246, allocations: 28.81 kB / 0.9591 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.8246, allocations: 3.953 kB / 0.9591 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.8246, allocations: 1.312 kB / 0.9591 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.8246, allocations: 4.906 kB / 0.9592 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.8246, allocations: 0 / 0.9592 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00041/0.825, allocations: 259.9 kB / 0.9594 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.082e-05/0.8251, allocations: 82.91 kB / 0.9595 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.8251, allocations: 5.766 kB / 0.9595 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.8252, allocations: 18.64 kB / 0.9595 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.884e-05/0.8253, allocations: 27.41 kB / 0.9595 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.086e-06/0.8253, allocations: 2.281 kB / 0.9595 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.773e-05/0.8254, allocations: 101 kB / 0.9596 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8254, allocations: 0 / 0.9596 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002304/0.8256, allocations: 19.28 kB / 0.9596 GB, free: 3.668 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 (max1.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.0001574/0.8258, allocations: 101.3 kB / 0.9597 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003935/0.8262, allocations: 132.9 kB / 0.9599 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.8262, allocations: 0 / 0.9599 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002019/0.8264, allocations: 74.52 kB / 0.9599 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003139/0.8267, allocations: 13.23 kB / 0.96 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004084/0.8271, allocations: 206.9 kB / 0.9601 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001404/0.8273, allocations: 0.6914 MB / 0.9608 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.986e-05/0.8274, allocations: 20.48 kB / 0.9608 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.8274, allocations: 0 / 0.9608 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of Templates: time 0.002938/0.8303, allocations: 1.221 MB / 0.962 GB, free: 1.949 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.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.MaxCalcHelperMain.o OMCppBuildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MaxCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MaxCalcHelperMain.o] Error 1