Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.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.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reaToInt.y|cha.u|cha.up|cha.y|cha.down|changeSampler.u|changeSampler.y|increaseSampler.u|increaseSampler.y|decreaseSampler.u|decreaseSampler.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reaToInt.y|cha.u|cha.up|cha.y|cha.down|changeSampler.u|changeSampler.y|increaseSampler.u|increaseSampler.y|decreaseSampler.u|decreaseSampler.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 102.4 kB / 15.71 MB, free: 448 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.001507/0.001507, allocations: 176.3 kB / 16.58 MB, free: 6.879 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.469/1.469, allocations: 223.2 MB / 240.6 MB, free: 5.254 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.531/2.531, allocations: 390.5 MB / 0.6662 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003444/0.0003444, allocations: 8 kB / 0.8154 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9228/0.9232, allocations: 142.3 MB / 0.9544 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.002035/0.9253, allocations: 1.58 MB / 0.956 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001399/0.9267, allocations: 1.03 MB / 0.957 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.9268, allocations: 2.438 kB / 0.957 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003341/0.9272, allocations: 88.53 kB / 0.9571 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000195/0.9274, allocations: 80.72 kB / 0.9571 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003202/0.9277, allocations: 129.4 kB / 0.9573 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002184/0.9279, allocations: 178.4 kB / 0.9574 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001557/0.9281, allocations: 44.89 kB / 0.9575 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001325/0.9282, allocations: 84.59 kB / 0.9576 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.9283, allocations: 80.34 kB / 0.9576 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.559e-05/0.9284, allocations: 12.36 kB / 0.9577 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/0.9285, allocations: 42.98 kB / 0.9577 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.177e-05/0.9286, allocations: 47.3 kB / 0.9577 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.448e-05/0.9286, allocations: 55.36 kB / 0.9578 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002103/0.9288, allocations: 199.9 kB / 0.958 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.9288, allocations: 0 / 0.958 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.693e-06/0.9288, allocations: 0 / 0.958 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.9289, allocations: 1.375 kB / 0.958 GB, free: 5.426 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0007715/0.9296, allocations: 0.5208 MB / 0.9585 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.9297, allocations: 9.094 kB / 0.9585 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.884e-05/0.9298, allocations: 24.25 kB / 0.9585 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003244/0.9301, allocations: 274.1 kB / 0.9588 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.9301, allocations: 3.781 kB / 0.9588 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.279e-05/0.9301, allocations: 17.47 kB / 0.9588 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002794/0.9304, allocations: 124.5 kB / 0.9589 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.9304, allocations: 1.375 kB / 0.9589 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.9305, allocations: 5.328 kB / 0.9589 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.9305, allocations: 1.375 kB / 0.9589 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002565/0.9307, allocations: 103 kB / 0.959 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000637/0.9314, allocations: 453.9 kB / 0.9595 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003285/0.9317, allocations: 143.1 kB / 0.9596 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001485/0.9319, allocations: 56.61 kB / 0.9597 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.34e-05/0.9319, allocations: 6.156 kB / 0.9597 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002798/0.9322, allocations: 130.3 kB / 0.9598 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.944e-06/0.9322, allocations: 1.438 kB / 0.9598 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.00065/0.9329, allocations: 263.1 kB / 0.96 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.9329, allocations: 54.34 kB / 0.9601 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003326/0.9333, allocations: 329.4 kB / 0.9604 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.9333, allocations: 32.45 kB / 0.9604 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.332e-05/0.9334, allocations: 147.4 kB / 0.9606 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.692e-05/0.9334, allocations: 42.33 kB / 0.9606 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.249e-05/0.9334, allocations: 1.375 kB / 0.9606 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.202e-05/0.9335, allocations: 341.6 kB / 0.9609 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001914/0.9337, allocations: 85.45 kB / 0.961 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002131/0.9339, allocations: 136.2 kB / 0.9612 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002196/0.9342, allocations: 93.72 kB / 0.9612 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.9342, allocations: 0 / 0.9612 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005817/0.9348, allocations: 288.3 kB / 0.9615 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.9348, allocations: 9.031 kB / 0.9615 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.9348, allocations: 1.531 kB / 0.9615 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.9348, allocations: 3 kB / 0.9615 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002036/0.935, allocations: 48.75 kB / 0.9616 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.9351, allocations: 3.094 kB / 0.9616 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001596/0.9352, allocations: 29.45 kB / 0.9616 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.012e-05/0.9353, allocations: 12.02 kB / 0.9616 GB, free: 2.594 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 19 ($PRE.decreaseSampler.y,decreaseSampler.y,$PRE.increaseSampler.y,increaseSampler.y,$PRE.changeSampler.y,changeSampler.y,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition4,$whenCondition3,$whenCondition1,$PRE.cha.u,cha.u,cha.y,cha.up,cha.down,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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.0001457/0.9354, allocations: 169 kB / 0.9618 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.236e-05/0.9355, allocations: 17.84 kB / 0.9618 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.358e-05/0.9355, allocations: 30.73 kB / 0.9618 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.9355, allocations: 1.969 kB / 0.9618 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.463e-06/0.9356, allocations: 0 / 0.9618 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.9356, allocations: 0.8125 kB / 0.9618 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007146/0.9363, allocations: 0.5587 MB / 0.9624 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.9363, allocations: 0 / 0.9624 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.35e-05/0.9364, allocations: 24.39 kB / 0.9624 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.9364, allocations: 0.8438 kB / 0.9624 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.9364, allocations: 10.08 kB / 0.9624 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.9364, allocations: 1.281 kB / 0.9624 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.9364, allocations: 0 / 0.9624 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004324/0.9369, allocations: 306.6 kB / 0.9627 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.399e-05/0.9369, allocations: 101.4 kB / 0.9628 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.518e-05/0.937, allocations: 6.781 kB / 0.9628 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.9371, allocations: 14.67 kB / 0.9628 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.816e-05/0.9372, allocations: 18.5 kB / 0.9628 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.566e-05/0.9372, allocations: 9.094 kB / 0.9628 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000199/0.9374, allocations: 207 kB / 0.963 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.21e-07/0.9374, allocations: 0 / 0.963 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003373/0.9378, allocations: 59.5 kB / 0.9631 GB, free: 1.43 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: 13 (cha.y,cha.up,cha.down,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cha.u,changeSampler.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,increaseSampler.y,decreaseSampler.y) * Number of discrete states: 3 (timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0009728/0.9388, allocations: 430.1 kB / 0.9635 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004836/0.9392, allocations: 196 kB / 0.9637 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.9393, allocations: 1 kB / 0.9637 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001757/0.9394, allocations: 73.23 kB / 0.9638 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003986/0.9399, allocations: 46.28 kB / 0.9638 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007645/0.9406, allocations: 478.3 kB / 0.9643 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001944/0.9408, allocations: 0.7501 MB / 0.965 GB, free: 4 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.107e-05/0.9409, allocations: 25.94 kB / 0.965 GB, free: 16 MB / 0.7325 GB Notification: Performance of SimCode: time 3.91e-07/0.9409, allocations: 0 / 0.965 GB, free: 16 MB / 0.7325 GB Notification: Performance of Templates: time 0.007881/0.9488, allocations: 3.217 MB / 0.9682 GB, free: 14.36 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.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.ChangeCalcHelperMain.o OMCppBuildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.ChangeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.ChangeCalcHelperMain.o] Error 1