Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008949/0.0008949, allocations: 100.5 kB / 15.71 MB, free: 452 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.0008581/0.0008581, allocations: 176 kB / 16.58 MB, free: 6.422 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.479/1.479, allocations: 223.2 MB / 240.6 MB, free: 5.422 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.521/2.521, allocations: 390.5 MB / 0.6662 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003813/0.0003813, allocations: 16 kB / 0.8154 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8717/0.8721, allocations: 142.3 MB / 0.9544 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.00109/0.8732, allocations: 422.7 kB / 0.9548 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001107/0.8744, allocations: 0.8223 MB / 0.9556 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.314e-05/0.8745, allocations: 4 kB / 0.9556 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.944e-05/0.8745, allocations: 0 / 0.9556 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.669e-05/0.8746, allocations: 9.266 kB / 0.9556 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001608/0.8748, allocations: 20.62 kB / 0.9557 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.068e-05/0.8748, allocations: 33.73 kB / 0.9557 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.878e-05/0.875, allocations: 13.98 kB / 0.9557 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.084e-05/0.875, allocations: 13.92 kB / 0.9557 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.195e-05/0.8751, allocations: 23.16 kB / 0.9557 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.1e-05/0.8751, allocations: 5.219 kB / 0.9557 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.309e-05/0.8752, allocations: 6.219 kB / 0.9558 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.74e-05/0.8752, allocations: 9.203 kB / 0.9558 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.195e-05/0.8752, allocations: 32.36 kB / 0.9558 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.562e-05/0.8753, allocations: 30.38 kB / 0.9558 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.947e-06/0.8753, allocations: 0 / 0.9558 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.294e-06/0.8753, allocations: 0 / 0.9558 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.379e-06/0.8753, allocations: 0 / 0.9558 GB, free: 6.949 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004373/0.8758, allocations: 360.2 kB / 0.9562 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.8758, allocations: 8.562 kB / 0.9562 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.319e-05/0.8758, allocations: 6.656 kB / 0.9562 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.876, allocations: 173.8 kB / 0.9563 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.876, allocations: 5.5 kB / 0.9563 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.284e-05/0.876, allocations: 2.125 kB / 0.9563 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.8762, allocations: 72.38 kB / 0.9564 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.8762, allocations: 9 kB / 0.9564 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.8762, allocations: 0 / 0.9564 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.8763, allocations: 4.766 kB / 0.9564 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000214/0.8765, allocations: 64.16 kB / 0.9565 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004101/0.8769, allocations: 289 kB / 0.9568 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001869/0.8771, allocations: 67.73 kB / 0.9568 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.8772, allocations: 43.44 kB / 0.9569 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.8772, allocations: 5.109 kB / 0.9569 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.66e-05/0.8772, allocations: 31.53 kB / 0.9569 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.8773, allocations: 0 / 0.9569 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0004213/0.8777, allocations: 123.1 kB / 0.957 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/0.8777, allocations: 52.56 kB / 0.9571 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.607e-05/0.8778, allocations: 110.3 kB / 0.9572 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.8778, allocations: 27.02 kB / 0.9572 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.671e-05/0.8779, allocations: 89.23 kB / 0.9573 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.44e-05/0.8779, allocations: 14.3 kB / 0.9573 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.24e-06/0.8779, allocations: 4 kB / 0.9573 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.838e-05/0.878, allocations: 316.2 kB / 0.9576 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.8781, allocations: 29.22 kB / 0.9576 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.697e-05/0.8782, allocations: 29.14 kB / 0.9577 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.709e-05/0.8783, allocations: 32.84 kB / 0.9577 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.8783, allocations: 0 / 0.9577 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000236/0.8786, allocations: 91.28 kB / 0.9578 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.8786, allocations: 8.328 kB / 0.9578 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.8786, allocations: 5.062 kB / 0.9578 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.8786, allocations: 3.984 kB / 0.9578 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.8788, allocations: 18.23 kB / 0.9578 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.8788, allocations: 0.9062 kB / 0.9578 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.377e-05/0.8789, allocations: 11.97 kB / 0.9578 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.8789, allocations: 5.172 kB / 0.9578 GB, free: 5.023 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: 2 (intGreThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 6.809e-05/0.8789, allocations: 116.2 kB / 0.9579 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.793e-05/0.879, allocations: 6.375 kB / 0.958 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.887e-05/0.879, allocations: 7.859 kB / 0.958 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.879, allocations: 1.094 kB / 0.958 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.879, allocations: 0 / 0.958 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.879, allocations: 1.219 kB / 0.958 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001431/0.8792, allocations: 179.9 kB / 0.9581 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.8792, allocations: 0 / 0.9581 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.704e-05/0.8793, allocations: 14.42 kB / 0.9581 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.165e-06/0.8793, allocations: 0 / 0.9581 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.8793, allocations: 5.062 kB / 0.9582 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.8793, allocations: 5.203 kB / 0.9582 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.8793, allocations: 4.25 kB / 0.9582 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002676/0.8796, allocations: 197.9 kB / 0.9584 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.523e-05/0.8796, allocations: 82.33 kB / 0.9584 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/0.8797, allocations: 3.984 kB / 0.9584 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.852e-05/0.8798, allocations: 7.5 kB / 0.9584 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.031e-05/0.8798, allocations: 15.88 kB / 0.9585 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.8799, allocations: 6.141 kB / 0.9585 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.663e-05/0.8799, allocations: 88.11 kB / 0.9585 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.8e-07/0.8799, allocations: 1.125 kB / 0.9585 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002259/0.8801, allocations: 9.844 kB / 0.9586 GB, free: 4.285 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: 2 (intGreThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001435/0.8803, allocations: 97.31 kB / 0.9586 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002753/0.8806, allocations: 67.75 kB / 0.9587 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.8806, allocations: 1.312 kB / 0.9587 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.8807, allocations: 45.78 kB / 0.9588 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.881, allocations: 4.328 kB / 0.9588 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003771/0.8814, allocations: 156.3 kB / 0.9589 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001342/0.8816, allocations: 0.6927 MB / 0.9596 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.396e-05/0.8816, allocations: 9.719 kB / 0.9596 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of SimCode: time 3.31e-07/0.8816, allocations: 0 / 0.9596 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of Templates: time 0.002673/0.8843, allocations: 0.7993 MB / 0.9604 GB, free: 2.871 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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.GreaterThresholdCalcHelperMain.o OMCppBuildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThresholdCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThresholdCalcHelperMain.o] Error 1