Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|numReq.u.1.|numReq.u.2.|numReq.y",fileNamePrefix="Buildings_9_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_9_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.00106/0.00106, allocations: 101.4 kB / 15.71 MB, free: 460 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.0014/0.0014, allocations: 176.9 kB / 16.58 MB, free: 6.047 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.48/1.48, allocations: 223.3 MB / 240.6 MB, free: 5.43 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.464/2.464, allocations: 390.4 MB / 0.6662 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003994/0.0003994, allocations: 8 kB / 0.8154 GB, free: 14.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8797/0.8801, allocations: 142.3 MB / 0.9544 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.00147/0.8816, allocations: 1.181 MB / 0.9555 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006192/0.8823, allocations: 445.9 kB / 0.956 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.608e-05/0.8823, allocations: 0 / 0.956 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.519e-05/0.8824, allocations: 7.922 kB / 0.956 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.733e-05/0.8825, allocations: 10.45 kB / 0.956 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001903/0.8827, allocations: 24.94 kB / 0.956 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.8828, allocations: 87.66 kB / 0.9561 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.8829, allocations: 6.375 kB / 0.9561 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.883, allocations: 45.23 kB / 0.9561 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.201e-05/0.8831, allocations: 39.27 kB / 0.9562 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.534e-05/0.8832, allocations: 4.375 kB / 0.9562 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.819e-05/0.8832, allocations: 3.875 kB / 0.9562 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.526e-05/0.8832, allocations: 7.078 kB / 0.9562 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.562e-05/0.8833, allocations: 41.83 kB / 0.9562 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.296e-05/0.8834, allocations: 62.3 kB / 0.9563 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.8834, allocations: 0 / 0.9563 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8834, allocations: 0 / 0.9563 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.8834, allocations: 0 / 0.9563 GB, free: 6.586 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005415/0.8839, allocations: 439 kB / 0.9567 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.884, allocations: 9.375 kB / 0.9567 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.135e-05/0.884, allocations: 17.73 kB / 0.9567 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.8842, allocations: 187.4 kB / 0.9569 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.8842, allocations: 2.906 kB / 0.9569 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.386e-05/0.8842, allocations: 10.91 kB / 0.9569 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002926/0.8845, allocations: 120.4 kB / 0.957 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.8846, allocations: 1.188 kB / 0.957 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.8846, allocations: 9.188 kB / 0.9571 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.8846, allocations: 1.312 kB / 0.9571 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002789/0.8849, allocations: 104.3 kB / 0.9572 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004514/0.8853, allocations: 335.8 kB / 0.9575 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002928/0.8856, allocations: 125.8 kB / 0.9576 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001755/0.8858, allocations: 77.25 kB / 0.9577 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.8858, allocations: 1.156 kB / 0.9577 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003136/0.8862, allocations: 134.8 kB / 0.9578 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.8862, allocations: 0 / 0.9578 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0006605/0.8868, allocations: 299.3 kB / 0.9581 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/0.8869, allocations: 88.55 kB / 0.9582 GB, free: 5 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.942e-05/0.887, allocations: 132.7 kB / 0.9583 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.887, allocations: 27.89 kB / 0.9583 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.624e-05/0.8871, allocations: 99.28 kB / 0.9584 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/0.8871, allocations: 16.12 kB / 0.9584 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.799e-06/0.8871, allocations: 2.094 kB / 0.9584 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.506e-05/0.8872, allocations: 325 kB / 0.9587 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001775/0.8873, allocations: 73.08 kB / 0.9588 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001683/0.8875, allocations: 72.55 kB / 0.9589 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001635/0.8877, allocations: 114.2 kB / 0.959 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.8877, allocations: 4 kB / 0.959 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004509/0.8882, allocations: 276.3 kB / 0.9593 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.587e-05/0.8882, allocations: 58.75 kB / 0.9593 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.8882, allocations: 3.953 kB / 0.9593 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.8882, allocations: 5.5 kB / 0.9593 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.8883, allocations: 20.23 kB / 0.9593 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.8884, allocations: 5.172 kB / 0.9594 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.8885, allocations: 28.45 kB / 0.9594 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.816e-05/0.8885, allocations: 4.031 kB / 0.9594 GB, free: 4.008 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: 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 8.844e-05/0.8886, allocations: 158.4 kB / 0.9595 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.701e-05/0.8886, allocations: 7.594 kB / 0.9595 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.633e-05/0.8887, allocations: 10.12 kB / 0.9596 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.8887, allocations: 17.66 kB / 0.9596 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.8887, allocations: 0 / 0.9596 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.8887, allocations: 3.984 kB / 0.9596 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.637e-05/0.8888, allocations: 189.8 kB / 0.9598 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.8888, allocations: 0 / 0.9598 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.953e-05/0.8889, allocations: 24.53 kB / 0.9598 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.8889, allocations: 0 / 0.9598 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.8889, allocations: 5.812 kB / 0.9598 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.8889, allocations: 2.125 kB / 0.9598 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.8889, allocations: 3.953 kB / 0.9598 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004215/0.8894, allocations: 258.3 kB / 0.96 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.239e-05/0.8894, allocations: 82.39 kB / 0.9601 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.535e-05/0.8894, allocations: 4.219 kB / 0.9601 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001274/0.8896, allocations: 33.78 kB / 0.9601 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.8897, allocations: 43.03 kB / 0.9602 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.8897, allocations: 2.75 kB / 0.9602 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.395e-05/0.8898, allocations: 106.2 kB / 0.9603 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8898, allocations: 0 / 0.9603 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000201/0.89, allocations: 22 kB / 0.9603 GB, free: 3.18 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: 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 9.252e-05/0.8901, allocations: 105.1 kB / 0.9604 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004507/0.8905, allocations: 277.2 kB / 0.9607 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.8905, allocations: 0 / 0.9607 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002243/0.8908, allocations: 148 kB / 0.9608 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002104/0.891, allocations: 21.83 kB / 0.9608 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004599/0.8915, allocations: 263.6 kB / 0.9611 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001195/0.8916, allocations: 0.6896 MB / 0.9618 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.787e-05/0.8916, allocations: 10.84 kB / 0.9618 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.8916, allocations: 0 / 0.9618 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of Templates: time 0.003077/0.8947, allocations: 1.424 MB / 0.9632 GB, free: 1.121 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile make -j1 -f Buildings_9_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_9_Buildings.Controls.Continuous.Examples.NumberOfRequestsCalcHelperMain.o OMCppBuildings_9_Buildings.Controls.Continuous.Examples.NumberOfRequestsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Controls.Continuous.Examples.NumberOfRequestsCalcHelperMain.o] Error 1