Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests") translateModel(IBPSA.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0009889/0.0009889, allocations: 89.66 kB / 16.33 MB, free: 6.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 186.2 kB / 17.23 MB, free: 6.293 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.514/1.514, allocations: 223.3 MB / 241.2 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7391/0.7391, allocations: 114.4 MB / 406.7 MB, free: 4.02 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003376/0.0003377, allocations: 8 kB / 494.4 MB, free: 8.023 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1957/0.196, allocations: 77.27 MB / 0.5583 GB, free: 10.96 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.001956/0.1981, allocations: 1.169 MB / 0.5595 GB, free: 9.781 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008584/0.1989, allocations: 427.3 kB / 0.5599 GB, free: 9.359 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.978e-05/0.199, allocations: 0 / 0.5599 GB, free: 9.359 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001183/0.1991, allocations: 7.922 kB / 0.5599 GB, free: 9.352 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.687e-05/0.1992, allocations: 15.94 kB / 0.5599 GB, free: 9.336 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002588/0.1995, allocations: 19.97 kB / 0.5599 GB, free: 9.316 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001502/0.1996, allocations: 83.75 kB / 0.56 GB, free: 9.234 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.1998, allocations: 16.17 kB / 0.56 GB, free: 9.219 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001325/0.1999, allocations: 35.84 kB / 0.56 GB, free: 9.184 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.2, allocations: 43.83 kB / 0.5601 GB, free: 9.141 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.791e-05/0.2001, allocations: 4 kB / 0.5601 GB, free: 9.137 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.829e-05/0.2001, allocations: 4 kB / 0.5601 GB, free: 9.133 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.494e-05/0.2001, allocations: 11.98 kB / 0.5601 GB, free: 9.121 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.403e-05/0.2002, allocations: 37.64 kB / 0.5601 GB, free: 9.078 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001183/0.2003, allocations: 51.89 kB / 0.5602 GB, free: 9.027 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.127e-06/0.2003, allocations: 0 / 0.5602 GB, free: 9.027 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.346e-06/0.2004, allocations: 3.938 kB / 0.5602 GB, free: 9.023 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.2004, allocations: 4 kB / 0.5602 GB, free: 9.02 MB / 430.1 MB 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.0007654/0.2011, allocations: 442.8 kB / 0.5606 GB, free: 8.527 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.2012, allocations: 12.02 kB / 0.5606 GB, free: 8.516 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.221e-05/0.2013, allocations: 11.91 kB / 0.5606 GB, free: 8.504 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00023/0.2015, allocations: 183 kB / 0.5608 GB, free: 8.285 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.2015, allocations: 8 kB / 0.5608 GB, free: 8.277 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/0.2016, allocations: 4 kB / 0.5608 GB, free: 8.273 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003227/0.2019, allocations: 133.5 kB / 0.5609 GB, free: 8.137 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.2019, allocations: 3.953 kB / 0.5609 GB, free: 8.133 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/0.2019, allocations: 4 kB / 0.561 GB, free: 8.129 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.2019, allocations: 0 / 0.561 GB, free: 8.129 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003036/0.2022, allocations: 103.9 kB / 0.5611 GB, free: 8.027 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000584/0.2028, allocations: 332.7 kB / 0.5614 GB, free: 7.652 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003111/0.2032, allocations: 130.4 kB / 0.5615 GB, free: 7.516 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001745/0.2033, allocations: 84.88 kB / 0.5616 GB, free: 7.43 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.2034, allocations: 0 / 0.5616 GB, free: 7.43 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003273/0.2037, allocations: 127.3 kB / 0.5617 GB, free: 7.293 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.2037, allocations: 4 kB / 0.5617 GB, free: 7.289 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007053/0.2044, allocations: 303.1 kB / 0.562 GB, free: 6.98 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.984e-05/0.2045, allocations: 85.11 kB / 0.5621 GB, free: 6.879 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.2046, allocations: 124.6 kB / 0.5622 GB, free: 6.75 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.808e-05/0.2047, allocations: 33.7 kB / 0.5622 GB, free: 6.711 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.631e-05/0.2047, allocations: 96.03 kB / 0.5623 GB, free: 6.613 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.387e-05/0.2048, allocations: 19.75 kB / 0.5623 GB, free: 6.594 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.737e-06/0.2048, allocations: 0 / 0.5623 GB, free: 6.594 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.2049, allocations: 322.8 kB / 0.5626 GB, free: 6.27 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001771/0.2051, allocations: 75.95 kB / 0.5627 GB, free: 6.195 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001616/0.2053, allocations: 67.95 kB / 0.5628 GB, free: 6.129 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001819/0.2054, allocations: 119.4 kB / 0.5629 GB, free: 6 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2055, allocations: 0 / 0.5629 GB, free: 6 MB / 430.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004623/0.2059, allocations: 284.9 kB / 0.5632 GB, free: 5.703 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.166e-05/0.206, allocations: 67.34 kB / 0.5632 GB, free: 5.625 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.206, allocations: 0 / 0.5632 GB, free: 5.625 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.206, allocations: 0 / 0.5632 GB, free: 5.625 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.2061, allocations: 15.98 kB / 0.5632 GB, free: 5.609 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.2062, allocations: 4 kB / 0.5632 GB, free: 5.605 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001419/0.2063, allocations: 35.97 kB / 0.5633 GB, free: 5.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.695e-05/0.2063, allocations: 0 / 0.5633 GB, free: 5.57 MB / 430.1 MB 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.0001403/0.2065, allocations: 163 kB / 0.5634 GB, free: 5.398 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.189e-05/0.2065, allocations: 16.09 kB / 0.5634 GB, free: 5.383 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.641e-05/0.2065, allocations: 12.38 kB / 0.5635 GB, free: 5.371 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.2066, allocations: 96 / 0.5635 GB, free: 5.371 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.2066, allocations: 7.938 kB / 0.5635 GB, free: 5.363 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.2066, allocations: 4 kB / 0.5635 GB, free: 5.359 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001629/0.2067, allocations: 189.6 kB / 0.5637 GB, free: 5.125 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2068, allocations: 0 / 0.5637 GB, free: 5.125 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.193e-05/0.2068, allocations: 15.98 kB / 0.5637 GB, free: 5.109 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.154e-06/0.2069, allocations: 7.938 kB / 0.5637 GB, free: 5.102 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.2069, allocations: 4 kB / 0.5637 GB, free: 5.098 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2069, allocations: 0 / 0.5637 GB, free: 5.098 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2069, allocations: 0 / 0.5637 GB, free: 5.098 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004708/0.2074, allocations: 258.6 kB / 0.5639 GB, free: 4.82 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.583e-05/0.2074, allocations: 88.95 kB / 0.564 GB, free: 4.715 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.119e-05/0.2075, allocations: 11.95 kB / 0.564 GB, free: 4.703 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001282/0.2076, allocations: 27.97 kB / 0.564 GB, free: 4.676 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/0.2077, allocations: 39.89 kB / 0.5641 GB, free: 4.637 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/0.2078, allocations: 4 kB / 0.5641 GB, free: 4.633 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.341e-05/0.2078, allocations: 99.27 kB / 0.5642 GB, free: 4.535 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2078, allocations: 0 / 0.5642 GB, free: 4.535 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002035/0.208, allocations: 24 kB / 0.5642 GB, free: 4.512 MB / 430.1 MB 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.0001153/0.2082, allocations: 108.1 kB / 0.5643 GB, free: 4.398 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00049/0.2087, allocations: 278.7 kB / 0.5646 GB, free: 4.102 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2087, allocations: 4 kB / 0.5646 GB, free: 4.098 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002326/0.2089, allocations: 143.3 kB / 0.5647 GB, free: 3.945 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002203/0.2091, allocations: 15.98 kB / 0.5647 GB, free: 3.93 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005253/0.2097, allocations: 266.9 kB / 0.565 GB, free: 3.629 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/0.2099, allocations: 0.6887 MB / 0.5657 GB, free: 2.914 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.284e-05/0.21, allocations: 7.438 kB / 0.5657 GB, free: 2.906 MB / 430.1 MB Notification: Performance of SimCode: time 5.01e-07/0.21, allocations: 4 kB / 0.5657 GB, free: 2.902 MB / 430.1 MB Notification: Performance of Templates: time 0.003141/0.2131, allocations: 1.431 MB / 0.5671 GB, free: 1.484 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.makefile make -j1 -f IBPSA_latest_IBPSA.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 OMCppIBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequestsCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequestsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequestsCalcHelperMain.o] Error 1