Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.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.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001599/0.001599, allocations: 96.14 kB / 15.87 MB, free: 16 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.002057/0.002058, allocations: 194.2 kB / 16.79 MB, free: 6.812 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.864/1.864, allocations: 205.1 MB / 222.6 MB, free: 4.809 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.937/1.937, allocations: 292.3 MB / 0.5491 GB, free: 13.67 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.001428/0.001428, allocations: 65.84 kB / 0.6715 GB, free: 26.46 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.346, allocations: 114.5 MB / 0.7833 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.004751/0.3508, allocations: 2.562 MB / 0.7858 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001445/0.3523, allocations: 0.7713 MB / 0.7866 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001143/0.3524, allocations: 7.938 kB / 0.7866 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001306/0.3537, allocations: 0.5603 MB / 0.7871 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002671/0.354, allocations: 99.59 kB / 0.7872 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003183/0.3543, allocations: 95.83 kB / 0.7873 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003584/0.3547, allocations: 295.2 kB / 0.7876 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003289/0.355, allocations: 106.2 kB / 0.7877 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.945e-05/0.3551, allocations: 71.77 kB / 0.7878 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002743/0.3554, allocations: 99.64 kB / 0.7879 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.714e-05/0.3554, allocations: 11.94 kB / 0.7879 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000263/0.3557, allocations: 139.7 kB / 0.788 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.573e-05/0.3558, allocations: 51.83 kB / 0.7881 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.3559, allocations: 63.67 kB / 0.7881 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002914/0.3562, allocations: 179.9 kB / 0.7883 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/0.3562, allocations: 0 / 0.7883 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3562, allocations: 0 / 0.7883 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.3563, allocations: 0 / 0.7883 GB, free: 8.898 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.000844/0.3571, allocations: 447.3 kB / 0.7887 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/0.3572, allocations: 8.031 kB / 0.7887 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004541/0.3576, allocations: 48.7 kB / 0.7888 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002901/0.3579, allocations: 216 kB / 0.789 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.3579, allocations: 12.64 kB / 0.789 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.926e-05/0.358, allocations: 20.38 kB / 0.789 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004255/0.3584, allocations: 227 kB / 0.7892 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.3584, allocations: 0 / 0.7892 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.566e-05/0.3585, allocations: 8 kB / 0.7892 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.81e-05/0.3585, allocations: 16.22 kB / 0.7892 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002604/0.3588, allocations: 148.7 kB / 0.7894 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001189/0.36, allocations: 1.134 MB / 0.7905 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.3601, allocations: 42.56 kB / 0.7905 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.764e-05/0.3601, allocations: 16.86 kB / 0.7905 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.3602, allocations: 4 kB / 0.7906 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.3602, allocations: 30.56 kB / 0.7906 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.3602, allocations: 0 / 0.7906 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0002484/0.3605, allocations: 85.73 kB / 0.7907 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/0.3605, allocations: 55.41 kB / 0.7907 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002066/0.3607, allocations: 176.1 kB / 0.7909 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.3608, allocations: 25.7 kB / 0.7909 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.3609, allocations: 135.4 kB / 0.791 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.935e-05/0.3609, allocations: 23.73 kB / 0.7911 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.715e-05/0.361, allocations: 25.72 kB / 0.7911 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.3611, allocations: 322.8 kB / 0.7914 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.363e-05/0.3612, allocations: 32.84 kB / 0.7914 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.209e-05/0.3613, allocations: 81.44 kB / 0.7915 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001534/0.3615, allocations: 137.2 kB / 0.7916 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3615, allocations: 0 / 0.7916 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001977/0.3617, allocations: 133.3 kB / 0.7918 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.3617, allocations: 7.938 kB / 0.7918 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.3617, allocations: 4.312 kB / 0.7918 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.3617, allocations: 11.94 kB / 0.7918 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.3619, allocations: 23.98 kB / 0.7918 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.713e-05/0.3619, allocations: 4 kB / 0.7918 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.224e-05/0.362, allocations: 27.62 kB / 0.7918 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.05e-05/0.362, allocations: 12 kB / 0.7918 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001115/0.3621, allocations: 120.1 kB / 0.792 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.698e-05/0.3622, allocations: 89.44 kB / 0.792 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001371/0.3623, allocations: 117.3 kB / 0.7922 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.475e-06/0.3624, allocations: 4 kB / 0.7922 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0002065/0.3626, allocations: 137.4 kB / 0.7923 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.215e-06/0.3626, allocations: 8 kB / 0.7923 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.3626, allocations: 4 kB / 0.7923 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-06/0.3626, allocations: 0 / 0.7923 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.549e-05/0.3627, allocations: 27.92 kB / 0.7923 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.3627, allocations: 7.938 kB / 0.7923 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.519e-05/0.3627, allocations: 4 kB / 0.7923 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.407e-06/0.3628, allocations: 12 kB / 0.7924 GB, free: 4.262 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * 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.0001324/0.3629, allocations: 199.2 kB / 0.7925 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.282e-05/0.3629, allocations: 15.8 kB / 0.7926 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.835e-05/0.363, allocations: 12.94 kB / 0.7926 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.363, allocations: 3.938 kB / 0.7926 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.363, allocations: 0 / 0.7926 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.363, allocations: 0 / 0.7926 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004651/0.3635, allocations: 469.1 kB / 0.793 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.3635, allocations: 4 kB / 0.793 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.392e-05/0.3635, allocations: 11.92 kB / 0.793 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.3635, allocations: 0 / 0.793 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.3636, allocations: 8 kB / 0.793 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.3636, allocations: 0 / 0.793 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3636, allocations: 0 / 0.793 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00014/0.3637, allocations: 111.7 kB / 0.7932 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.663e-05/0.3638, allocations: 92.91 kB / 0.7932 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/0.3638, allocations: 7.938 kB / 0.7932 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.302e-05/0.3639, allocations: 0 / 0.7932 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.46e-05/0.3639, allocations: 8 kB / 0.7933 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.3639, allocations: 0 / 0.7933 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001141/0.364, allocations: 135.9 kB / 0.7934 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.364, allocations: 0 / 0.7934 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003311/0.3644, allocations: 51.84 kB / 0.7934 GB, free: 3.031 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001149/0.3645, allocations: 97.92 kB / 0.7935 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000208/0.3647, allocations: 121 kB / 0.7936 GB, free: 2.809 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3647, allocations: 4 kB / 0.7936 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.026e-05/0.3648, allocations: 16 kB / 0.7937 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/0.3651, allocations: 19.92 kB / 0.7937 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006193/0.3657, allocations: 357.1 kB / 0.794 GB, free: 2.379 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003719/0.3661, allocations: 0.728 MB / 0.7947 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.442e-05/0.3661, allocations: 11.44 kB / 0.7947 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of SimCode: time 3e-07/0.3661, allocations: 0 / 0.7947 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of Templates: time 0.003529/0.3696, allocations: 1.446 MB / 0.7962 GB, free: 180 kB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile make -j1 -f Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.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.Electrical.DC.Sensors.Examples.GeneralizedSensorCalcHelperMain.o OMCppBuildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensorCalcHelperMain.o] Error 1