Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.0009929/0.0009934, allocations: 100.5 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.0009721/0.0009719, allocations: 175.3 kB / 16.58 MB, free: 6.422 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.449/1.449, allocations: 223.3 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.136/1.136, allocations: 143.4 MB / 435.1 MB, free: 13.74 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003602/0.0003602, allocations: 8 kB / 0.5166 GB, free: 11.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2142, allocations: 83.4 MB / 0.598 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.001741/0.216, allocations: 1.186 MB / 0.5992 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007396/0.2167, allocations: 435.3 kB / 0.5996 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.671e-05/0.2168, allocations: 4 kB / 0.5996 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.359e-05/0.2169, allocations: 3.938 kB / 0.5996 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.331e-05/0.2169, allocations: 7.875 kB / 0.5996 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002086/0.2172, allocations: 31.95 kB / 0.5997 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001306/0.2173, allocations: 87.75 kB / 0.5998 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.2174, allocations: 4.188 kB / 0.5998 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001359/0.2176, allocations: 39.89 kB / 0.5998 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.233e-05/0.2177, allocations: 35.83 kB / 0.5998 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.735e-05/0.2177, allocations: 7.938 kB / 0.5998 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.669e-05/0.2177, allocations: 4 kB / 0.5998 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.137e-05/0.2178, allocations: 15.92 kB / 0.5999 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.472e-05/0.2178, allocations: 41.7 kB / 0.5999 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001171/0.218, allocations: 59.88 kB / 0.6 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.218, allocations: 0 / 0.6 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.404e-06/0.218, allocations: 0 / 0.6 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.218, allocations: 0 / 0.6 GB, free: 5.848 MB / 0.4981 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.0007078/0.2187, allocations: 438.8 kB / 0.6004 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.2187, allocations: 16.03 kB / 0.6004 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.474e-05/0.2188, allocations: 7.906 kB / 0.6004 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002003/0.219, allocations: 190.8 kB / 0.6006 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.219, allocations: 4 kB / 0.6006 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/0.2191, allocations: 12 kB / 0.6006 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002992/0.2194, allocations: 117.6 kB / 0.6007 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.2194, allocations: 4 kB / 0.6007 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.2194, allocations: 0 / 0.6007 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.2194, allocations: 0 / 0.6007 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002942/0.2197, allocations: 99.92 kB / 0.6008 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005527/0.2203, allocations: 348.7 kB / 0.6011 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003337/0.2206, allocations: 122.5 kB / 0.6012 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001733/0.2208, allocations: 76.94 kB / 0.6013 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.52e-05/0.2208, allocations: 4 kB / 0.6013 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003347/0.2212, allocations: 131.3 kB / 0.6015 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.372e-06/0.2212, allocations: 0 / 0.6015 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.000712/0.2219, allocations: 299.1 kB / 0.6017 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.596e-05/0.222, allocations: 93.05 kB / 0.6018 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.2221, allocations: 129.8 kB / 0.602 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.2221, allocations: 29.7 kB / 0.602 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.615e-05/0.2222, allocations: 96.05 kB / 0.6021 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.483e-05/0.2223, allocations: 19.73 kB / 0.6021 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.263e-05/0.2223, allocations: 11.94 kB / 0.6021 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.2224, allocations: 318.8 kB / 0.6024 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001945/0.2226, allocations: 71.95 kB / 0.6025 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001761/0.2228, allocations: 79.94 kB / 0.6025 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001872/0.223, allocations: 111.3 kB / 0.6027 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.223, allocations: 0 / 0.6027 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004989/0.2235, allocations: 272.9 kB / 0.6029 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.397e-05/0.2236, allocations: 63.39 kB / 0.603 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.2236, allocations: 4 kB / 0.603 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.2236, allocations: 0 / 0.603 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.2237, allocations: 23.92 kB / 0.603 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.2237, allocations: 3.953 kB / 0.603 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.2239, allocations: 31.97 kB / 0.603 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.996e-05/0.2239, allocations: 4 kB / 0.603 GB, free: 2.398 MB / 0.4981 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.0001333/0.2241, allocations: 151.5 kB / 0.6032 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.036e-05/0.2241, allocations: 11.91 kB / 0.6032 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.911e-05/0.2241, allocations: 12.36 kB / 0.6032 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.2241, allocations: 3.984 kB / 0.6032 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.2241, allocations: 0 / 0.6032 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.2242, allocations: 7.953 kB / 0.6032 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001568/0.2243, allocations: 185.6 kB / 0.6034 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2243, allocations: 0 / 0.6034 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.339e-05/0.2244, allocations: 19.98 kB / 0.6034 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.2244, allocations: 4 kB / 0.6034 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.2244, allocations: 4 kB / 0.6034 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.2244, allocations: 0 / 0.6034 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2245, allocations: 0 / 0.6034 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004891/0.2249, allocations: 266.5 kB / 0.6037 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.708e-05/0.225, allocations: 92.94 kB / 0.6038 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.654e-05/0.225, allocations: 4.094 kB / 0.6038 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.2252, allocations: 28.23 kB / 0.6038 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/0.2253, allocations: 43.94 kB / 0.6038 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.2253, allocations: 4 kB / 0.6038 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.331e-05/0.2254, allocations: 95.27 kB / 0.6039 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2254, allocations: 0 / 0.6039 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002255/0.2256, allocations: 24 kB / 0.604 GB, free: 1.348 MB / 0.4981 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.0001337/0.2258, allocations: 107.2 kB / 0.6041 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005256/0.2263, allocations: 290.7 kB / 0.6043 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2263, allocations: 0 / 0.6043 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002379/0.2266, allocations: 147.3 kB / 0.6045 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002183/0.2268, allocations: 15.95 kB / 0.6045 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005356/0.2274, allocations: 258.9 kB / 0.6047 GB, free: 476 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3494/0.5768, allocations: 0.6926 MB / 0.6054 GB, free: 40.53 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.927e-05/0.5769, allocations: 10.53 kB / 0.6054 GB, free: 40.52 MB / 0.4981 GB Notification: Performance of SimCode: time 1.663e-06/0.5769, allocations: 0 / 0.6054 GB, free: 40.52 MB / 0.4981 GB Notification: Performance of Templates: time 0.003105/0.5801, allocations: 1.42 MB / 0.6068 GB, free: 40.51 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.makefile make -j1 -f BuildSysPro_BuildSysPro.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 OMCppBuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequestsCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequestsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequestsCalcHelperMain.o] Error 1