Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Sensors.Examples.GeneralizedSensor") translateModel(BuildingSystems.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0108/0.0108, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001958/0.001958, allocations: 192.1 kB / 16.79 MB, free: 5.809 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.537/1.537, allocations: 222.9 MB / 240.5 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002058/0.002059, allocations: 274.3 kB / 290.9 MB, free: 2.184 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9761/0.9761, allocations: 169.2 MB / 0.4983 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001756/0.001757, allocations: 88.94 kB / 0.5951 GB, free: 28.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2148/0.2166, allocations: 86.99 MB / 0.6801 GB, free: 1.176 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.005187/0.2218, allocations: 2.527 MB / 0.6826 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001693/0.2236, allocations: 0.7883 MB / 0.6833 GB, free: 13.86 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001888/0.2238, allocations: 0.875 kB / 0.6833 GB, free: 13.86 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001427/0.2252, allocations: 0.5129 MB / 0.6838 GB, free: 13.34 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003688/0.2256, allocations: 103.6 kB / 0.6839 GB, free: 13.24 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003961/0.226, allocations: 104.4 kB / 0.684 GB, free: 13.14 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004848/0.2265, allocations: 295.2 kB / 0.6843 GB, free: 12.85 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000317/0.2269, allocations: 102.2 kB / 0.6844 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001371/0.227, allocations: 67.77 kB / 0.6845 GB, free: 12.68 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003243/0.2273, allocations: 99.64 kB / 0.6846 GB, free: 12.58 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.529e-05/0.2274, allocations: 16 kB / 0.6846 GB, free: 12.57 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003592/0.2277, allocations: 143.7 kB / 0.6847 GB, free: 12.43 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.708e-05/0.2278, allocations: 55.83 kB / 0.6848 GB, free: 12.37 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001865/0.228, allocations: 63.67 kB / 0.6848 GB, free: 12.31 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003154/0.2284, allocations: 175.6 kB / 0.685 GB, free: 12.14 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.2284, allocations: 0 / 0.685 GB, free: 12.14 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.82e-07/0.2284, allocations: 0 / 0.685 GB, free: 12.14 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.105e-06/0.2284, allocations: 0 / 0.685 GB, free: 12.14 MB / 494.1 MB 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.00095/0.2294, allocations: 443.3 kB / 0.6854 GB, free: 11.65 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.423e-05/0.2294, allocations: 16.03 kB / 0.6854 GB, free: 11.64 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005331/0.23, allocations: 44.72 kB / 0.6855 GB, free: 11.59 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003437/0.2303, allocations: 212.1 kB / 0.6857 GB, free: 11.35 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.2304, allocations: 16.59 kB / 0.6857 GB, free: 11.33 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.742e-05/0.2304, allocations: 20.31 kB / 0.6857 GB, free: 11.31 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004689/0.2309, allocations: 227.3 kB / 0.6859 GB, free: 11.07 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.2309, allocations: 4 kB / 0.6859 GB, free: 11.07 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.646e-05/0.2309, allocations: 4 kB / 0.6859 GB, free: 11.06 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.259e-05/0.231, allocations: 20.27 kB / 0.686 GB, free: 11.04 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002817/0.2313, allocations: 140.7 kB / 0.6861 GB, free: 10.91 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001322/0.2326, allocations: 1.127 MB / 0.6872 GB, free: 9.648 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.737e-05/0.2327, allocations: 46.5 kB / 0.6872 GB, free: 9.594 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.902e-05/0.2328, allocations: 16.86 kB / 0.6873 GB, free: 9.574 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.2328, allocations: 4 kB / 0.6873 GB, free: 9.57 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.2328, allocations: 34.64 kB / 0.6873 GB, free: 9.527 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.933e-06/0.2328, allocations: 3.938 kB / 0.6873 GB, free: 9.523 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002663/0.2331, allocations: 81.47 kB / 0.6874 GB, free: 9.438 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.2332, allocations: 51.41 kB / 0.6874 GB, free: 9.375 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002243/0.2334, allocations: 172.6 kB / 0.6876 GB, free: 9.199 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.2334, allocations: 25.7 kB / 0.6876 GB, free: 9.168 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.2335, allocations: 147.3 kB / 0.6878 GB, free: 9.02 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.01e-05/0.2336, allocations: 15.81 kB / 0.6878 GB, free: 9.004 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.737e-05/0.2337, allocations: 29.7 kB / 0.6878 GB, free: 8.969 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.2338, allocations: 318.8 kB / 0.6881 GB, free: 8.648 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.97e-05/0.2339, allocations: 28.84 kB / 0.6881 GB, free: 8.617 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.234, allocations: 89.42 kB / 0.6882 GB, free: 8.496 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001664/0.2342, allocations: 125.2 kB / 0.6883 GB, free: 8.34 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.2342, allocations: 0 / 0.6883 GB, free: 8.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000224/0.2344, allocations: 137.5 kB / 0.6885 GB, free: 8.199 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.2344, allocations: 8 kB / 0.6885 GB, free: 8.191 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.2345, allocations: 0 / 0.6885 GB, free: 8.191 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.2345, allocations: 7.938 kB / 0.6885 GB, free: 8.184 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.2346, allocations: 27.92 kB / 0.6885 GB, free: 8.156 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.2346, allocations: 4 kB / 0.6885 GB, free: 8.152 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.892e-05/0.2347, allocations: 11.84 kB / 0.6885 GB, free: 8.141 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.2347, allocations: 15.94 kB / 0.6885 GB, free: 8.125 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001138/0.2349, allocations: 125.1 kB / 0.6887 GB, free: 8 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.183e-05/0.2349, allocations: 88.12 kB / 0.6887 GB, free: 7.883 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001453/0.2351, allocations: 129.3 kB / 0.6889 GB, free: 7.723 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.583e-06/0.2351, allocations: 0 / 0.6889 GB, free: 7.723 MB / 494.1 MB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0002205/0.2353, allocations: 133.2 kB / 0.689 GB, free: 7.586 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.2354, allocations: 7.984 kB / 0.689 GB, free: 7.578 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.2354, allocations: 4 kB / 0.689 GB, free: 7.574 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.661e-06/0.2354, allocations: 4 kB / 0.689 GB, free: 7.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.56e-05/0.2355, allocations: 24.25 kB / 0.689 GB, free: 7.547 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.2355, allocations: 11.94 kB / 0.689 GB, free: 7.535 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.072e-05/0.2355, allocations: 11.92 kB / 0.6891 GB, free: 7.523 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.2356, allocations: 8 kB / 0.6891 GB, free: 7.516 MB / 494.1 MB 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.0001316/0.2357, allocations: 188.9 kB / 0.6892 GB, free: 7.324 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.606e-05/0.2357, allocations: 7.906 kB / 0.6892 GB, free: 7.316 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.03e-05/0.2358, allocations: 12.94 kB / 0.6893 GB, free: 7.301 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.2358, allocations: 3.938 kB / 0.6893 GB, free: 7.297 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.2358, allocations: 0 / 0.6893 GB, free: 7.297 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.2358, allocations: 4 kB / 0.6893 GB, free: 7.293 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005578/0.2364, allocations: 477 kB / 0.6897 GB, free: 6.758 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.2364, allocations: 0 / 0.6897 GB, free: 6.758 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.856e-05/0.2364, allocations: 8 kB / 0.6897 GB, free: 6.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/0.2365, allocations: 7.938 kB / 0.6897 GB, free: 6.742 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.2365, allocations: 7.938 kB / 0.6897 GB, free: 6.734 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.2365, allocations: 4.125 kB / 0.6897 GB, free: 6.73 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.2365, allocations: 4 kB / 0.6898 GB, free: 6.727 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002093/0.2367, allocations: 111.5 kB / 0.6899 GB, free: 6.59 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.539e-05/0.2368, allocations: 88.95 kB / 0.6899 GB, free: 6.484 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/0.2368, allocations: 0 / 0.6899 GB, free: 6.484 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.816e-05/0.2369, allocations: 8 kB / 0.69 GB, free: 6.477 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.852e-05/0.2369, allocations: 11.92 kB / 0.69 GB, free: 6.465 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.2369, allocations: 4 kB / 0.69 GB, free: 6.461 MB / 494.1 MB Notification: Performance of sorting global known variables: time 9.713e-05/0.237, allocations: 123.2 kB / 0.6901 GB, free: 6.344 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.237, allocations: 3.938 kB / 0.6901 GB, free: 6.34 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003687/0.2374, allocations: 55.75 kB / 0.6901 GB, free: 6.285 MB / 494.1 MB 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.0001765/0.2376, allocations: 95.25 kB / 0.6902 GB, free: 6.18 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002109/0.2378, allocations: 115.6 kB / 0.6903 GB, free: 6.066 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2378, allocations: 4 kB / 0.6903 GB, free: 6.062 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.63e-05/0.2378, allocations: 17.3 kB / 0.6904 GB, free: 6.047 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/0.2381, allocations: 19.98 kB / 0.6904 GB, free: 6.027 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006095/0.2388, allocations: 365.1 kB / 0.6907 GB, free: 5.629 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003066/0.2391, allocations: 0.7163 MB / 0.6914 GB, free: 4.887 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.598e-05/0.2391, allocations: 15.44 kB / 0.6914 GB, free: 4.871 MB / 494.1 MB Notification: Performance of SimCode: time 2e-07/0.2391, allocations: 0 / 0.6914 GB, free: 4.871 MB / 494.1 MB Notification: Performance of Templates: time 0.003582/0.2427, allocations: 1.442 MB / 0.6929 GB, free: 3.434 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile make -j1 -f BuildingSystems_BuildingSystems.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 OMCppBuildingSystems_BuildingSystems.Electrical.DC.Sensors.Examples.GeneralizedSensorCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Electrical.DC.Sensors.Examples.GeneralizedSensorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Electrical.DC.Sensors.Examples.GeneralizedSensorCalcHelperMain.o] Error 1