Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.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 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.Continuous.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008491/0.0008493, allocations: 92.39 kB / 16.02 MB, free: 80 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.001561/0.001561, allocations: 178.1 kB / 16.92 MB, free: 6.652 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.885/1.885, allocations: 205.4 MB / 223.1 MB, free: 5.555 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.786/1.786, allocations: 292.7 MB / 0.5509 GB, free: 14.45 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.000629/0.0006288, allocations: 16.75 kB / 0.675 GB, free: 25.84 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.3586, allocations: 116.3 MB / 0.7886 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold): time 0.002987/0.3616, allocations: 1.629 MB / 0.7901 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002434/0.3641, allocations: 0.992 MB / 0.7911 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001639/0.3643, allocations: 3.938 kB / 0.7911 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005746/0.3649, allocations: 103.7 kB / 0.7912 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003159/0.3652, allocations: 87.7 kB / 0.7913 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004528/0.3657, allocations: 103.8 kB / 0.7914 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003418/0.3661, allocations: 195.4 kB / 0.7916 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002147/0.3663, allocations: 41.66 kB / 0.7916 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001509/0.3664, allocations: 75.52 kB / 0.7917 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001511/0.3666, allocations: 87.67 kB / 0.7918 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.646e-05/0.3666, allocations: 4 kB / 0.7918 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001777/0.3668, allocations: 59.89 kB / 0.7918 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.357e-05/0.3669, allocations: 47.83 kB / 0.7919 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001208/0.3671, allocations: 97.12 kB / 0.792 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003629/0.3674, allocations: 211.8 kB / 0.7922 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.3674, allocations: 0 / 0.7922 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.668e-06/0.3675, allocations: 0 / 0.7922 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.7e-06/0.3675, allocations: 3.938 kB / 0.7922 GB, free: 7.812 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.001002/0.3685, allocations: 0.5023 MB / 0.7927 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.3685, allocations: 8.031 kB / 0.7927 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.06e-05/0.3686, allocations: 24.66 kB / 0.7927 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00048/0.3691, allocations: 307.6 kB / 0.793 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.3691, allocations: 4.125 kB / 0.793 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.435e-05/0.3692, allocations: 8 kB / 0.793 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002192/0.3694, allocations: 89.58 kB / 0.7931 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.3694, allocations: 0 / 0.7931 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/0.3694, allocations: 4 kB / 0.7931 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.3694, allocations: 0 / 0.7931 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.3696, allocations: 39.98 kB / 0.7931 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008046/0.3704, allocations: 428.5 kB / 0.7936 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002557/0.3706, allocations: 78.67 kB / 0.7936 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.118e-05/0.3707, allocations: 28.84 kB / 0.7937 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.578e-05/0.3708, allocations: 4 kB / 0.7937 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000227/0.371, allocations: 83.38 kB / 0.7937 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.371, allocations: 7.875 kB / 0.7937 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.000402/0.3714, allocations: 137.3 kB / 0.7939 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.477e-05/0.3715, allocations: 51.41 kB / 0.7939 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004844/0.372, allocations: 359 kB / 0.7943 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.324e-05/0.372, allocations: 29.7 kB / 0.7943 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.3722, allocations: 144 kB / 0.7944 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.132e-05/0.3722, allocations: 15.81 kB / 0.7944 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.326e-05/0.3723, allocations: 21.7 kB / 0.7945 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002085/0.3725, allocations: 338.8 kB / 0.7948 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001147/0.3726, allocations: 55.97 kB / 0.7948 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/0.3727, allocations: 73.69 kB / 0.7949 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001967/0.373, allocations: 104.6 kB / 0.795 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.373, allocations: 0 / 0.795 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003606/0.3733, allocations: 189.2 kB / 0.7952 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.3734, allocations: 4 kB / 0.7952 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/0.3734, allocations: 4 kB / 0.7952 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.3734, allocations: 11.86 kB / 0.7952 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.3735, allocations: 16 kB / 0.7952 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.3735, allocations: 4 kB / 0.7952 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.3737, allocations: 23.92 kB / 0.7953 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.182e-05/0.3737, allocations: 4 kB / 0.7953 GB, free: 4.43 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.ram.tab.nextTimeEvent,$whenCondition1,ram.tab.nextTimeEventScaled,$PRE.ram.tab.nextTimeEventScaled,ram.tab.nextTimeEvent,greHys.greHys.y,$PRE.greHys.greHys.y,gre.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.000167/0.3739, allocations: 168.8 kB / 0.7954 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.205e-05/0.3739, allocations: 19.72 kB / 0.7954 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.731e-05/0.374, allocations: 33.67 kB / 0.7955 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.374, allocations: 0 / 0.7955 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.374, allocations: 0 / 0.7955 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.374, allocations: 0 / 0.7955 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002362/0.3742, allocations: 249.5 kB / 0.7957 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3742, allocations: 0 / 0.7957 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.297e-05/0.3743, allocations: 4 kB / 0.7957 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3743, allocations: 0 / 0.7957 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.3743, allocations: 3.938 kB / 0.7957 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3743, allocations: 0 / 0.7957 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3743, allocations: 0 / 0.7957 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000248/0.3746, allocations: 137.1 kB / 0.7958 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.103e-05/0.3747, allocations: 108.8 kB / 0.796 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.372e-05/0.3747, allocations: 11.88 kB / 0.796 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.387e-05/0.3748, allocations: 11.98 kB / 0.796 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.852e-05/0.3749, allocations: 11.98 kB / 0.796 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.3749, allocations: 4 kB / 0.796 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002571/0.3752, allocations: 229.9 kB / 0.7962 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3752, allocations: 0 / 0.7962 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002871/0.3755, allocations: 32 kB / 0.7962 GB, free: 3.336 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: 5 ($whenCondition1,gre.y,greHys.greHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Number of discrete states: 3 (ram.tab.nextTimeEventScaled,greHys.greHys.y,ram.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001147/0.3766, allocations: 427.1 kB / 0.7966 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002471/0.3769, allocations: 111.9 kB / 0.7968 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3769, allocations: 0 / 0.7968 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.009e-05/0.377, allocations: 27.98 kB / 0.7968 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003512/0.3773, allocations: 44.86 kB / 0.7968 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007444/0.3781, allocations: 464.2 kB / 0.7973 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003965/0.3785, allocations: 0.744 MB / 0.798 GB, free: 1.629 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.937e-05/0.3786, allocations: 23.44 kB / 0.798 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.3786, allocations: 0 / 0.798 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of Templates: time 0.006286/0.3849, allocations: 3.017 MB / 0.801 GB, free: 14.6 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.makefile make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.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.Continuous.Validation.GreaterThresholdCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThresholdCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThresholdCalcHelperMain.o] Error 1