Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001176/0.001176, allocations: 96.14 kB / 15.87 MB, free: 16 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.001519/0.001519, allocations: 197.3 kB / 16.79 MB, free: 6.828 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.722/1.722, allocations: 205.1 MB / 222.6 MB, free: 4.762 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.834/1.834, allocations: 292.3 MB / 0.5491 GB, free: 13.68 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001429, allocations: 64.41 kB / 0.6715 GB, free: 26.61 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.372/0.3735, allocations: 114.5 MB / 0.7833 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.004394/0.378, allocations: 1.971 MB / 0.7853 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001906/0.3799, allocations: 1.039 MB / 0.7863 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.38, allocations: 0 / 0.7863 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004467/0.3805, allocations: 91.69 kB / 0.7864 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002153/0.3807, allocations: 83.72 kB / 0.7864 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003119/0.3811, allocations: 118.2 kB / 0.7866 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002716/0.3813, allocations: 203.4 kB / 0.7868 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001757/0.3815, allocations: 45.66 kB / 0.7868 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001654/0.3817, allocations: 95.55 kB / 0.7869 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001435/0.3819, allocations: 103.5 kB / 0.787 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.778e-05/0.3819, allocations: 4 kB / 0.787 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001241/0.382, allocations: 51.97 kB / 0.787 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.573e-05/0.3821, allocations: 51.83 kB / 0.7871 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001031/0.3822, allocations: 95.33 kB / 0.7872 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002662/0.3825, allocations: 199.9 kB / 0.7874 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3825, allocations: 0 / 0.7874 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.72e-07/0.3825, allocations: 0 / 0.7874 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.3825, allocations: 4 kB / 0.7874 GB, free: 9.875 MB / 0.6075 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.0009821/0.3835, allocations: 0.5413 MB / 0.7879 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.3836, allocations: 8.031 kB / 0.7879 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.981e-05/0.3836, allocations: 24.66 kB / 0.7879 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003955/0.384, allocations: 296 kB / 0.7882 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.3841, allocations: 7.938 kB / 0.7882 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.747e-05/0.3841, allocations: 12 kB / 0.7882 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003081/0.3844, allocations: 120.4 kB / 0.7883 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.3844, allocations: 0 / 0.7883 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.804e-05/0.3845, allocations: 8 kB / 0.7884 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.3845, allocations: 0 / 0.7884 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002689/0.3847, allocations: 87.86 kB / 0.7884 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008577/0.3856, allocations: 460.5 kB / 0.7889 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003522/0.386, allocations: 126.6 kB / 0.789 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001581/0.3861, allocations: 64.81 kB / 0.7891 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.3862, allocations: 0 / 0.7891 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000293/0.3865, allocations: 123.3 kB / 0.7892 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.583e-06/0.3865, allocations: 0 / 0.7892 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.0006732/0.3872, allocations: 252 kB / 0.7894 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.911e-05/0.3872, allocations: 59.28 kB / 0.7895 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003778/0.3876, allocations: 330.5 kB / 0.7898 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.669e-05/0.3877, allocations: 29.7 kB / 0.7898 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.3878, allocations: 140.5 kB / 0.79 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.924e-05/0.3878, allocations: 43.45 kB / 0.79 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.388, allocations: 57.69 kB / 0.7901 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001788/0.3881, allocations: 342.8 kB / 0.7904 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002081/0.3884, allocations: 79.95 kB / 0.7905 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002414/0.3886, allocations: 134 kB / 0.7906 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003868/0.389, allocations: 197.8 kB / 0.7908 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.389, allocations: 4 kB / 0.7908 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005614/0.3896, allocations: 288.5 kB / 0.791 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.3896, allocations: 11.94 kB / 0.7911 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.3896, allocations: 0 / 0.7911 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.3897, allocations: 4 kB / 0.7911 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002316/0.3899, allocations: 47.91 kB / 0.7911 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.3899, allocations: 192 / 0.7911 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001456/0.3901, allocations: 27.89 kB / 0.7911 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.108e-05/0.3901, allocations: 8 kB / 0.7911 GB, free: 5.75 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.cha.y,decreaseSampler.y,$PRE.decreaseSampler.y,increaseSampler.y,$PRE.increaseSampler.y,changeSampler.y,$PRE.changeSampler.y,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition2,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,cha.down,cha.up,cha.y,cha.u,$PRE.cha.u,$whenCondition1,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001997/0.3903, allocations: 171 kB / 0.7913 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.158e-05/0.3904, allocations: 27.66 kB / 0.7913 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.299e-05/0.3904, allocations: 26.17 kB / 0.7914 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.3904, allocations: 0 / 0.7914 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.3905, allocations: 0 / 0.7914 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.3905, allocations: 4 kB / 0.7914 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008337/0.3913, allocations: 0.5489 MB / 0.7919 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3913, allocations: 3.938 kB / 0.7919 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.265e-05/0.3914, allocations: 11.98 kB / 0.7919 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.3914, allocations: 0 / 0.7919 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.011e-05/0.3914, allocations: 11.92 kB / 0.7919 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3915, allocations: 4 kB / 0.7919 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3915, allocations: 0 / 0.7919 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004873/0.392, allocations: 295.1 kB / 0.7922 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.341e-05/0.3921, allocations: 96.83 kB / 0.7923 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.371e-05/0.3921, allocations: 8 kB / 0.7923 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.3923, allocations: 27.91 kB / 0.7923 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.682e-05/0.3923, allocations: 7.984 kB / 0.7923 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.237e-05/0.3924, allocations: 11.98 kB / 0.7924 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002142/0.3926, allocations: 206 kB / 0.7926 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3926, allocations: 0 / 0.7926 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003196/0.3929, allocations: 48 kB / 0.7926 GB, free: 4.16 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001127/0.3941, allocations: 430.4 kB / 0.793 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004758/0.3945, allocations: 187.3 kB / 0.7932 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3946, allocations: 0 / 0.7932 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001864/0.3948, allocations: 75.89 kB / 0.7933 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004097/0.3952, allocations: 44.52 kB / 0.7933 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008046/0.396, allocations: 0.4885 MB / 0.7938 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005695/0.3966, allocations: 0.7443 MB / 0.7945 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.407e-05/0.3967, allocations: 31.42 kB / 0.7945 GB, free: 2.273 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.3967, allocations: 4 kB / 0.7945 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of Templates: time 0.0059/0.4026, allocations: 3.248 MB / 0.7977 GB, free: 15.03 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.ChangeCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.ChangeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.ChangeCalcHelperMain.o] Error 1