Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests.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.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests") translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00089/0.0008899, allocations: 98.88 kB / 16.02 MB, free: 76 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.001247/0.001247, allocations: 182.2 kB / 16.92 MB, free: 6.918 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.993/1.993, allocations: 205.4 MB / 223.1 MB, free: 5.527 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.921/1.921, 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.0007191/0.0007191, allocations: 16.94 kB / 0.675 GB, free: 25.78 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.3508, allocations: 116.3 MB / 0.7885 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.002394/0.3532, allocations: 1.21 MB / 0.7897 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001164/0.3544, allocations: 496.9 kB / 0.7902 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.08e-05/0.3545, allocations: 4 kB / 0.7902 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001156/0.3547, allocations: 11.88 kB / 0.7902 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.061e-05/0.3548, allocations: 11.86 kB / 0.7902 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002774/0.3551, allocations: 35.95 kB / 0.7902 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001641/0.3552, allocations: 79.83 kB / 0.7903 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.3554, allocations: 16.17 kB / 0.7903 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001952/0.3556, allocations: 35.84 kB / 0.7904 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001455/0.3557, allocations: 47.81 kB / 0.7904 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.085e-05/0.3558, allocations: 4 kB / 0.7904 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.877e-05/0.3558, allocations: 4 kB / 0.7904 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.851e-05/0.3559, allocations: 11.94 kB / 0.7904 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.356, allocations: 61.55 kB / 0.7905 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001364/0.3561, allocations: 52.11 kB / 0.7905 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3561, allocations: 0 / 0.7905 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.398e-06/0.3561, allocations: 0 / 0.7905 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.3562, allocations: 3.938 kB / 0.7905 GB, free: 9.504 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008417/0.357, allocations: 442.7 kB / 0.791 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/0.3571, allocations: 8.031 kB / 0.791 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.19e-05/0.3571, allocations: 16.84 kB / 0.791 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002651/0.3574, allocations: 196.1 kB / 0.7912 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.3574, allocations: 384 / 0.7912 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.594e-05/0.3575, allocations: 8.375 kB / 0.7912 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003795/0.3579, allocations: 125.8 kB / 0.7913 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.3579, allocations: 0 / 0.7913 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.979e-05/0.3579, allocations: 4 kB / 0.7913 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.3579, allocations: 0 / 0.7913 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000323/0.3583, allocations: 103.9 kB / 0.7914 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006977/0.359, allocations: 352.6 kB / 0.7917 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003608/0.3593, allocations: 114.5 kB / 0.7918 GB, free: 8 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002018/0.3595, allocations: 84.94 kB / 0.7919 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.3596, allocations: 0 / 0.7919 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003744/0.36, allocations: 135.3 kB / 0.7921 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.36, allocations: 4 kB / 0.7921 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0007778/0.3607, allocations: 299.2 kB / 0.7923 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.533e-05/0.3608, allocations: 85.11 kB / 0.7924 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.361, allocations: 124.8 kB / 0.7925 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.897e-05/0.361, allocations: 33.7 kB / 0.7926 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.291e-05/0.3611, allocations: 92.14 kB / 0.7927 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.566e-05/0.3611, allocations: 19.73 kB / 0.7927 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.884e-05/0.3612, allocations: 17.72 kB / 0.7927 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.3613, allocations: 330.8 kB / 0.793 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001962/0.3615, allocations: 67.95 kB / 0.7931 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001941/0.3617, allocations: 71.95 kB / 0.7932 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003881/0.3621, allocations: 201.8 kB / 0.7933 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.3621, allocations: 0 / 0.7933 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005493/0.3627, allocations: 284.9 kB / 0.7936 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.948e-05/0.3628, allocations: 67.39 kB / 0.7937 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.3628, allocations: 3.938 kB / 0.7937 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.3628, allocations: 0 / 0.7937 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001329/0.3629, allocations: 19.98 kB / 0.7937 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.363, allocations: 4.156 kB / 0.7937 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001776/0.3631, allocations: 31.88 kB / 0.7937 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.433e-05/0.3632, allocations: 7.984 kB / 0.7937 GB, free: 5.926 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,numReq.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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.0001495/0.3633, allocations: 152.1 kB / 0.7939 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.947e-05/0.3634, allocations: 8 kB / 0.7939 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.812e-05/0.3634, allocations: 16.36 kB / 0.7939 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.3634, allocations: 0 / 0.7939 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3634, allocations: 0 / 0.7939 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.3634, allocations: 0 / 0.7939 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001889/0.3636, allocations: 201.5 kB / 0.7941 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.3636, allocations: 0 / 0.7941 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.895e-05/0.3637, allocations: 15.98 kB / 0.7941 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.3638, allocations: 3.984 kB / 0.7941 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.3638, allocations: 8 kB / 0.7941 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.3638, allocations: 0 / 0.7941 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3638, allocations: 3.938 kB / 0.7941 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000508/0.3643, allocations: 258.7 kB / 0.7944 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.841e-05/0.3644, allocations: 88.95 kB / 0.7945 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.229e-05/0.3644, allocations: 7.984 kB / 0.7945 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/0.3646, allocations: 23.98 kB / 0.7945 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001571/0.3647, allocations: 40.25 kB / 0.7945 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.3648, allocations: 8 kB / 0.7945 GB, free: 5 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.086e-05/0.3648, allocations: 99.27 kB / 0.7946 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3649, allocations: 0 / 0.7946 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002177/0.3651, allocations: 27.92 kB / 0.7947 GB, free: 4.875 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: 4 ($whenCondition1,numReq.y,pulse.T_start,pulse.count) * Number of discrete states: 2 (pulse.count,numReq.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0001482/0.3652, allocations: 103.2 kB / 0.7948 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005551/0.3658, allocations: 286.6 kB / 0.795 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3658, allocations: 0 / 0.795 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002583/0.3661, allocations: 139.4 kB / 0.7952 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.3663, allocations: 23.92 kB / 0.7952 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006757/0.367, allocations: 282.7 kB / 0.7955 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004068/0.3674, allocations: 0.6926 MB / 0.7961 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.595e-05/0.3675, allocations: 11.44 kB / 0.7962 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of SimCode: time 3.7e-07/0.3675, allocations: 3.938 kB / 0.7962 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of Templates: time 0.003684/0.3712, allocations: 1.419 MB / 0.7975 GB, free: 1.848 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests.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.Continuous.Examples.NumberOfRequestsCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequestsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequestsCalcHelperMain.o] Error 1