Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001029/0.001029, allocations: 102.7 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.001549/0.001549, allocations: 177.6 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.491/1.491, 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 11.0.0-master/package.mo): time 2.758/2.758, allocations: 436.7 MB / 0.7113 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003801/0.0003802, allocations: 12 kB / 0.8717 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7403/0.7407, allocations: 153.7 MB / 1.022 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.002372/0.7431, allocations: 1.595 MB / 1.023 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001589/0.7448, allocations: 1.03 MB / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.7449, allocations: 4 kB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003365/0.7452, allocations: 95.67 kB / 1.024 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002054/0.7454, allocations: 71.73 kB / 1.024 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003408/0.7458, allocations: 130.5 kB / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002407/0.746, allocations: 183.5 kB / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.7462, allocations: 41.84 kB / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001433/0.7464, allocations: 75.62 kB / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.7465, allocations: 87.59 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.395e-05/0.7465, allocations: 4 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.7466, allocations: 39.98 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.029e-05/0.7467, allocations: 55.81 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.339e-05/0.7468, allocations: 53.58 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002362/0.747, allocations: 201.5 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.747, allocations: 0 / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.687e-06/0.747, allocations: 0 / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.747, allocations: 7.938 kB / 1.025 GB, free: 13.44 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0007774/0.7478, allocations: 0.5039 MB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.7479, allocations: 11.98 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.421e-05/0.7479, allocations: 23.72 kB / 1.026 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003396/0.7483, allocations: 274.7 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.7483, allocations: 16.19 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.366e-05/0.7484, allocations: 15.95 kB / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002786/0.7486, allocations: 115.1 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.7487, allocations: 0 / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.798e-05/0.7487, allocations: 15.92 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.7487, allocations: 3.984 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002638/0.749, allocations: 104 kB / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006546/0.7496, allocations: 460.3 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003088/0.7499, allocations: 130.7 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001457/0.7501, allocations: 68.81 kB / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.7501, allocations: 0 / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002754/0.7504, allocations: 131.2 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 3.837e-06/0.7504, allocations: 4 kB / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.0005838/0.751, allocations: 255.8 kB / 1.027 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.7511, allocations: 55.36 kB / 1.027 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003178/0.7514, allocations: 334.4 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.7514, allocations: 37.69 kB / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.732e-05/0.7515, allocations: 132.5 kB / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.041e-05/0.7516, allocations: 39.45 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.537e-05/0.7516, allocations: 8 kB / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.7517, allocations: 334.8 kB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001934/0.7519, allocations: 87.95 kB / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002221/0.7521, allocations: 141 kB / 1.028 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000193/0.7523, allocations: 95.91 kB / 1.029 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.7524, allocations: 0 / 1.029 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005104/0.7529, allocations: 291.8 kB / 1.029 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.7529, allocations: 4 kB / 1.029 GB, free: 9.578 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.7529, allocations: 4 kB / 1.029 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.7529, allocations: 0 / 1.029 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001929/0.7531, allocations: 47.91 kB / 1.029 GB, free: 9.527 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.7531, allocations: 0 / 1.029 GB, free: 9.527 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001391/0.7533, allocations: 39.88 kB / 1.029 GB, free: 9.488 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.624e-05/0.7533, allocations: 12 kB / 1.029 GB, free: 9.477 MB / 0.7794 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.0001426/0.7535, allocations: 157.7 kB / 1.029 GB, free: 9.312 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.043e-05/0.7535, allocations: 23.7 kB / 1.029 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.982e-05/0.7536, allocations: 22.19 kB / 1.029 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.7536, allocations: 4 kB / 1.029 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.7536, allocations: 0 / 1.029 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.7536, allocations: 7.984 kB / 1.029 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007649/0.7544, allocations: 0.5567 MB / 1.03 GB, free: 8.645 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.7544, allocations: 0 / 1.03 GB, free: 8.645 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.109e-05/0.7545, allocations: 19.98 kB / 1.03 GB, free: 8.625 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.7545, allocations: 0 / 1.03 GB, free: 8.625 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.7545, allocations: 4 kB / 1.03 GB, free: 8.621 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.147e-06/0.7545, allocations: 7.953 kB / 1.03 GB, free: 8.613 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.7545, allocations: 0 / 1.03 GB, free: 8.613 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004106/0.7549, allocations: 304.7 kB / 1.03 GB, free: 8.301 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.275e-05/0.755, allocations: 100.8 kB / 1.03 GB, free: 8.184 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.317e-05/0.755, allocations: 8 kB / 1.03 GB, free: 8.176 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.7552, allocations: 23.95 kB / 1.03 GB, free: 8.152 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.539e-05/0.7552, allocations: 19.94 kB / 1.03 GB, free: 8.133 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.7553, allocations: 11.98 kB / 1.03 GB, free: 8.121 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002014/0.7555, allocations: 206 kB / 1.03 GB, free: 7.918 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7555, allocations: 0 / 1.03 GB, free: 7.918 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003119/0.7558, allocations: 55.83 kB / 1.03 GB, free: 7.863 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: 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.0009359/0.7567, allocations: 426.2 kB / 1.031 GB, free: 7.598 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004409/0.7572, allocations: 191.8 kB / 1.031 GB, free: 7.41 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.7572, allocations: 0 / 1.031 GB, free: 7.41 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001691/0.7574, allocations: 75.89 kB / 1.031 GB, free: 7.336 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003795/0.7578, allocations: 54.08 kB / 1.031 GB, free: 7.285 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006757/0.7584, allocations: 470.5 kB / 1.032 GB, free: 6.801 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003004/0.7588, allocations: 0.7482 MB / 1.032 GB, free: 6.027 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.026e-05/0.7588, allocations: 31.42 kB / 1.032 GB, free: 5.996 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.7588, allocations: 0 / 1.032 GB, free: 5.996 MB / 0.7794 GB Notification: Performance of Templates: time 0.005171/0.764, allocations: 3.219 MB / 1.035 GB, free: 2.793 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile make -j1 -f Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Validation.ChangeCalcHelperMain.o OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.ChangeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.ChangeCalcHelperMain.o] Error 1