Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|numReq.u.1.|numReq.u.2.|numReq.y",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests") translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|numReq.u.1.|numReq.u.2.|numReq.y",fileNamePrefix="Buildings_latest_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.001114/0.001114, allocations: 100.1 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.001501/0.001501, allocations: 179 kB / 16.58 MB, free: 6.879 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.528/1.528, allocations: 223.2 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.908/2.908, allocations: 436.7 MB / 0.7113 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003897/0.0003897, allocations: 8 kB / 0.8717 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9661/0.9665, allocations: 153.7 MB / 1.022 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.001725/0.9683, allocations: 1.188 MB / 1.023 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0007156/0.969, allocations: 435.3 kB / 1.023 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.575e-05/0.9691, allocations: 0 / 1.023 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 7.978e-05/0.9692, allocations: 0 / 1.023 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.396e-05/0.9692, allocations: 19.84 kB / 1.023 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000196/0.9694, allocations: 27.97 kB / 1.023 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001377/0.9696, allocations: 79.77 kB / 1.023 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.797e-05/0.9697, allocations: 12.17 kB / 1.023 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.9698, allocations: 47.83 kB / 1.023 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.412e-05/0.9699, allocations: 39.83 kB / 1.024 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.532e-05/0.9699, allocations: 4 kB / 1.024 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.758e-05/0.97, allocations: 4 kB / 1.024 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.279e-05/0.97, allocations: 3.984 kB / 1.024 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.017e-05/0.9701, allocations: 41.64 kB / 1.024 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.936e-05/0.9702, allocations: 59.89 kB / 1.024 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.9702, allocations: 0 / 1.024 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.62e-07/0.9702, allocations: 0 / 1.024 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.117e-06/0.9702, allocations: 0 / 1.024 GB, free: 15.16 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006705/0.9709, allocations: 440.5 kB / 1.024 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.9709, allocations: 11.98 kB / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.44e-05/0.971, allocations: 11.91 kB / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002691/0.9712, allocations: 190.9 kB / 1.024 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.9713, allocations: 0 / 1.024 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.359e-05/0.9713, allocations: 15.98 kB / 1.024 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002967/0.9716, allocations: 117.6 kB / 1.024 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.9716, allocations: 3.938 kB / 1.024 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.9716, allocations: 4 kB / 1.024 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.9716, allocations: 4 kB / 1.024 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003784/0.972, allocations: 103.9 kB / 1.024 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005263/0.9726, allocations: 344.7 kB / 1.025 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003056/0.9729, allocations: 118.5 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001789/0.9731, allocations: 84.88 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/0.9731, allocations: 7.875 kB / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003335/0.9734, allocations: 135.2 kB / 1.025 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.412e-06/0.9734, allocations: 0 / 1.025 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0006904/0.9741, allocations: 291.2 kB / 1.025 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001589/0.9743, allocations: 85.11 kB / 1.025 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.9744, allocations: 137.7 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.9744, allocations: 33.7 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.9746, allocations: 92.14 kB / 1.026 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.9746, allocations: 19.8 kB / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.067e-05/0.9746, allocations: 4 kB / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000197/0.9748, allocations: 322.8 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002373/0.9751, allocations: 71.94 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001679/0.9752, allocations: 75.95 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001774/0.9754, allocations: 107.4 kB / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.9754, allocations: 0 / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004969/0.9759, allocations: 276.8 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.48e-05/0.976, allocations: 64.64 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.976, allocations: 4 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.976, allocations: 0 / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.9762, allocations: 23.98 kB / 1.027 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.9762, allocations: 0 / 1.027 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001417/0.9763, allocations: 31.91 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.772e-05/0.9764, allocations: 4 kB / 1.027 GB, free: 11.71 MB / 0.7794 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 ($whenCondition1,numReq.y,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001353/0.9765, allocations: 159.5 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.972e-05/0.9765, allocations: 11.89 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.443e-05/0.9766, allocations: 16.36 kB / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.9766, allocations: 0 / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.9766, allocations: 96 / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.9766, allocations: 3.938 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/0.9768, allocations: 197.6 kB / 1.027 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.9768, allocations: 3.938 kB / 1.027 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.205e-05/0.9769, allocations: 15.98 kB / 1.027 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.9769, allocations: 4 kB / 1.027 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.9769, allocations: 4.25 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.9769, allocations: 8 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.9769, allocations: 0 / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005639/0.9775, allocations: 262.6 kB / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.303e-05/0.9775, allocations: 88.95 kB / 1.027 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.596e-05/0.9776, allocations: 4 kB / 1.027 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.9777, allocations: 23.98 kB / 1.027 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/0.9779, allocations: 43.94 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.9779, allocations: 4 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.257e-05/0.978, allocations: 102.2 kB / 1.028 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.978, allocations: 0 / 1.028 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002009/0.9782, allocations: 24 kB / 1.028 GB, free: 10.64 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: 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 (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.000116/0.9783, allocations: 103.2 kB / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005012/0.9788, allocations: 278.7 kB / 1.028 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.9788, allocations: 0 / 1.028 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002364/0.979, allocations: 151.3 kB / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002058/0.9793, allocations: 12 kB / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005148/0.9798, allocations: 258.9 kB / 1.028 GB, free: 9.773 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.9801, allocations: 0.7004 MB / 1.029 GB, free: 9.047 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.278e-05/0.9801, allocations: 11.42 kB / 1.029 GB, free: 9.035 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.9802, allocations: 0 / 1.029 GB, free: 9.035 MB / 0.7794 GB Notification: Performance of Templates: time 0.003129/0.9833, allocations: 1.41 MB / 1.03 GB, free: 7.633 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.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.Continuous.Examples.NumberOfRequestsCalcHelperMain.o OMCppBuildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequestsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequestsCalcHelperMain.o] Error 1