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.0009435/0.0009436, 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.001147/0.001147, allocations: 174.9 kB / 16.58 MB, free: 6.422 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.691/1.691, allocations: 205.4 MB / 222.7 MB, free: 5.656 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.752/1.752, allocations: 292.7 MB / 0.5505 GB, free: 14.55 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.0005398/0.0005398, allocations: 11.5 kB / 0.6744 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3327, allocations: 116.3 MB / 0.7879 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.003274/0.336, allocations: 2.138 MB / 0.79 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001243/0.3373, allocations: 0.7288 MB / 0.7907 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.785e-05/0.3374, allocations: 3.938 kB / 0.7907 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001593/0.3376, allocations: 23.84 kB / 0.7907 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002845/0.3379, allocations: 79.62 kB / 0.7908 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002694/0.3382, allocations: 87.83 kB / 0.7909 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002884/0.3385, allocations: 235.3 kB / 0.7911 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000321/0.3388, allocations: 175.2 kB / 0.7913 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.938e-05/0.3389, allocations: 63.77 kB / 0.7914 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002424/0.3391, allocations: 83.7 kB / 0.7914 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.357e-05/0.3392, allocations: 8 kB / 0.7914 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001391/0.3393, allocations: 51.91 kB / 0.7915 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.441e-05/0.3394, allocations: 51.88 kB / 0.7915 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.64e-05/0.3394, allocations: 49.64 kB / 0.7916 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002263/0.3397, allocations: 167.8 kB / 0.7917 GB, free: 8 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.3397, allocations: 0 / 0.7917 GB, free: 8 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.824e-06/0.3397, allocations: 0 / 0.7917 GB, free: 8 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.3397, allocations: 4 kB / 0.7918 GB, free: 7.996 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.0007911/0.3405, allocations: 423.1 kB / 0.7922 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/0.3406, allocations: 8.031 kB / 0.7922 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004148/0.341, allocations: 43.78 kB / 0.7922 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003084/0.3413, allocations: 214.9 kB / 0.7924 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.3413, allocations: 12.28 kB / 0.7924 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.513e-05/0.3414, allocations: 15.94 kB / 0.7924 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004231/0.3418, allocations: 226.7 kB / 0.7927 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.3418, allocations: 0 / 0.7927 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.566e-05/0.3419, allocations: 8 kB / 0.7927 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.54e-05/0.3419, allocations: 16.27 kB / 0.7927 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002642/0.3422, allocations: 144.7 kB / 0.7928 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001286/0.3435, allocations: 1.134 MB / 0.7939 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.326e-05/0.3436, allocations: 38.56 kB / 0.794 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.537e-05/0.3436, allocations: 16.86 kB / 0.794 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/0.3436, allocations: 0 / 0.794 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.3437, allocations: 42.45 kB / 0.794 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.3437, allocations: 4 kB / 0.794 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0002234/0.3439, allocations: 73.67 kB / 0.7941 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.199e-05/0.344, allocations: 51.41 kB / 0.7941 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/0.3442, allocations: 179 kB / 0.7943 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.3442, allocations: 25.7 kB / 0.7943 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.3443, allocations: 139.4 kB / 0.7945 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/0.3443, allocations: 19.73 kB / 0.7945 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.923e-06/0.3443, allocations: 4 kB / 0.7945 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.3445, allocations: 326.8 kB / 0.7948 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.282e-05/0.3445, allocations: 19.98 kB / 0.7948 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.259e-05/0.3446, allocations: 85.38 kB / 0.7949 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.275e-05/0.3447, allocations: 35.98 kB / 0.7949 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3447, allocations: 0 / 0.7949 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001978/0.3449, allocations: 137.3 kB / 0.7951 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001156/0.345, allocations: 157.8 kB / 0.7952 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.3451, allocations: 4 kB / 0.7952 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.3451, allocations: 4 kB / 0.7952 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.3452, allocations: 32.16 kB / 0.7953 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.3452, allocations: 4 kB / 0.7953 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.725e-05/0.3453, allocations: 15.84 kB / 0.7953 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.3453, allocations: 12 kB / 0.7953 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.131e-06/0.3453, allocations: 4 kB / 0.7953 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001387/0.3455, allocations: 103.7 kB / 0.7954 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-06/0.3455, allocations: 0 / 0.7954 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.659e-06/0.3455, allocations: 4.312 kB / 0.7954 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.329e-05/0.3456, allocations: 31.92 kB / 0.7954 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.3456, allocations: 4 kB / 0.7954 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.272e-05/0.3457, allocations: 19.73 kB / 0.7954 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.3457, allocations: 8 kB / 0.7955 GB, free: 3.809 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001515/0.3458, allocations: 213 kB / 0.7957 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.794e-05/0.3459, allocations: 7.906 kB / 0.7957 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.604e-05/0.3459, allocations: 16.88 kB / 0.7957 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.3459, allocations: 3.984 kB / 0.7957 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.3459, allocations: 0 / 0.7957 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.3459, allocations: 7.953 kB / 0.7957 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004605/0.3464, allocations: 469.1 kB / 0.7961 GB, free: 3.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3464, allocations: 4 kB / 0.7961 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.932e-05/0.3465, allocations: 4 kB / 0.7961 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.281e-06/0.3465, allocations: 7.953 kB / 0.7962 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.3465, allocations: 4.125 kB / 0.7962 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.3465, allocations: 0 / 0.7962 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.3465, allocations: 4 kB / 0.7962 GB, free: 3 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001244/0.3466, allocations: 107.5 kB / 0.7963 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.283e-05/0.3467, allocations: 96.92 kB / 0.7964 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.128e-05/0.3467, allocations: 7.953 kB / 0.7964 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.362e-05/0.3468, allocations: 3.984 kB / 0.7964 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.689e-05/0.3468, allocations: 4 kB / 0.7964 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.3468, allocations: 0 / 0.7964 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001032/0.3469, allocations: 128 kB / 0.7965 GB, free: 2.613 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3469, allocations: 0 / 0.7965 GB, free: 2.613 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00033/0.3472, allocations: 51.84 kB / 0.7965 GB, free: 2.562 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 (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.0001295/0.3474, allocations: 106.1 kB / 0.7966 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001962/0.3476, allocations: 107.7 kB / 0.7967 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3476, allocations: 0 / 0.7967 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.42e-05/0.3476, allocations: 17.17 kB / 0.7968 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.3479, allocations: 27.98 kB / 0.7968 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005256/0.3484, allocations: 350.7 kB / 0.7971 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003098/0.3488, allocations: 0.7241 MB / 0.7978 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.404e-05/0.3488, allocations: 11.44 kB / 0.7978 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.3488, allocations: 3.938 kB / 0.7978 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of Templates: time 0.003125/0.3519, allocations: 1.442 MB / 0.7993 GB, free: 15.72 MB / 0.6231 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++ 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_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