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.0009028/0.0009027, allocations: 99.27 kB / 16.02 MB, free: 76 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.001074/0.001074, allocations: 183.4 kB / 16.92 MB, free: 6.918 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.826/1.826, allocations: 205.4 MB / 223.1 MB, free: 5.531 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.835/1.835, allocations: 292.7 MB / 0.5509 GB, free: 14.46 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.0005848/0.0005848, allocations: 17.34 kB / 0.675 GB, free: 25.85 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3523/0.3529, allocations: 116.3 MB / 0.7885 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.003667/0.3566, allocations: 2.2 MB / 0.7907 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001475/0.3581, allocations: 0.7675 MB / 0.7914 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.3582, allocations: 7.938 kB / 0.7914 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001599/0.3584, allocations: 19.86 kB / 0.7915 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003566/0.3588, allocations: 103.6 kB / 0.7916 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003207/0.3591, allocations: 107.8 kB / 0.7917 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003627/0.3595, allocations: 295.2 kB / 0.7919 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003193/0.3598, allocations: 179.3 kB / 0.7921 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.082e-05/0.3599, allocations: 55.78 kB / 0.7922 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002288/0.3601, allocations: 95.59 kB / 0.7923 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.245e-05/0.3602, allocations: 8 kB / 0.7923 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002424/0.3604, allocations: 139.7 kB / 0.7924 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.104e-05/0.3605, allocations: 51.88 kB / 0.7924 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.344e-05/0.3606, allocations: 89.38 kB / 0.7925 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002357/0.3609, allocations: 167.9 kB / 0.7927 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3609, allocations: 0 / 0.7927 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.068e-06/0.3609, allocations: 0 / 0.7927 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.768e-06/0.3609, allocations: 3.938 kB / 0.7927 GB, free: 7.262 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.0006407/0.3615, allocations: 423.3 kB / 0.7931 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.3616, allocations: 12.02 kB / 0.7931 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003608/0.362, allocations: 52.72 kB / 0.7932 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002448/0.3622, allocations: 212.1 kB / 0.7934 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.3622, allocations: 12.66 kB / 0.7934 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.622e-05/0.3623, allocations: 12.38 kB / 0.7934 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003827/0.3627, allocations: 227.3 kB / 0.7936 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.3627, allocations: 8.188 kB / 0.7936 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.328e-05/0.3627, allocations: 7.938 kB / 0.7936 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.966e-05/0.3628, allocations: 20.27 kB / 0.7936 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002331/0.363, allocations: 144.6 kB / 0.7938 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001184/0.3642, allocations: 1.134 MB / 0.7949 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.801e-05/0.3643, allocations: 38.56 kB / 0.7949 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.657e-05/0.3643, allocations: 16.86 kB / 0.7949 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.3644, allocations: 4 kB / 0.7949 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.3644, allocations: 30.56 kB / 0.795 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.3644, allocations: 0 / 0.795 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0002272/0.3646, allocations: 81.61 kB / 0.795 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.24e-05/0.3647, allocations: 55.34 kB / 0.7951 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001816/0.3649, allocations: 171 kB / 0.7953 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.209e-05/0.3649, allocations: 25.7 kB / 0.7953 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.3651, allocations: 139.3 kB / 0.7954 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.397e-05/0.3651, allocations: 23.83 kB / 0.7954 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.725e-05/0.3651, allocations: 17.72 kB / 0.7955 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001859/0.3653, allocations: 326.8 kB / 0.7958 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.271e-05/0.3654, allocations: 15.98 kB / 0.7958 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.919e-05/0.3655, allocations: 93.38 kB / 0.7959 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/0.3656, allocations: 129.4 kB / 0.796 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.3657, allocations: 4 kB / 0.796 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002054/0.3659, allocations: 133.6 kB / 0.7961 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.000131/0.366, allocations: 165.5 kB / 0.7963 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.366, allocations: 0 / 0.7963 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.366, allocations: 4 kB / 0.7963 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.3662, allocations: 27.98 kB / 0.7963 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.3662, allocations: 7.938 kB / 0.7963 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.014e-05/0.3663, allocations: 15.84 kB / 0.7963 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.3663, allocations: 4 kB / 0.7963 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.243e-06/0.3663, allocations: 8 kB / 0.7964 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001439/0.3664, allocations: 99.7 kB / 0.7964 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.3665, allocations: 4 kB / 0.7965 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.857e-06/0.3665, allocations: 4 kB / 0.7965 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.14e-05/0.3665, allocations: 23.98 kB / 0.7965 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.3666, allocations: 8.25 kB / 0.7965 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.508e-05/0.3666, allocations: 15.84 kB / 0.7965 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.3666, allocations: 4 kB / 0.7965 GB, free: 2.926 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.0001707/0.3668, allocations: 213.7 kB / 0.7967 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.352e-05/0.3668, allocations: 7.906 kB / 0.7967 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.525e-05/0.3669, allocations: 12.94 kB / 0.7967 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.3669, allocations: 0 / 0.7967 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.3669, allocations: 4 kB / 0.7967 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.3669, allocations: 7.922 kB / 0.7967 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005911/0.3675, allocations: 473.1 kB / 0.7972 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3675, allocations: 0 / 0.7972 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.129e-05/0.3676, allocations: 8 kB / 0.7972 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.3676, allocations: 3.938 kB / 0.7972 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.3676, allocations: 0 / 0.7972 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.3676, allocations: 4 kB / 0.7972 GB, free: 2.125 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.3676, allocations: 4.062 kB / 0.7972 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001501/0.3678, allocations: 119.5 kB / 0.7973 GB, free: 1.977 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.248e-05/0.3678, allocations: 92.95 kB / 0.7974 GB, free: 1.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.508e-05/0.3679, allocations: 4 kB / 0.7974 GB, free: 1.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.154e-05/0.3679, allocations: 3.938 kB / 0.7974 GB, free: 1.859 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.38e-05/0.3679, allocations: 7.984 kB / 0.7974 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-06/0.368, allocations: 4 kB / 0.7974 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000125/0.3681, allocations: 124 kB / 0.7976 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.685e-06/0.3681, allocations: 0 / 0.7976 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003548/0.3685, allocations: 67.66 kB / 0.7976 GB, free: 1.66 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.0001476/0.3686, allocations: 95.25 kB / 0.7977 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002278/0.3688, allocations: 107.8 kB / 0.7978 GB, free: 1.449 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3689, allocations: 0 / 0.7978 GB, free: 1.449 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.561e-05/0.3689, allocations: 15.92 kB / 0.7978 GB, free: 1.434 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002937/0.3692, allocations: 29.42 kB / 0.7979 GB, free: 1.406 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00059/0.3698, allocations: 370.4 kB / 0.7982 GB, free: 1.004 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003612/0.3702, allocations: 0.7202 MB / 0.7989 GB, free: 264 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.725e-05/0.3702, allocations: 15.44 kB / 0.7989 GB, free: 248 kB / 0.6075 GB Notification: Performance of SimCode: time 4.01e-07/0.3702, allocations: 0 / 0.7989 GB, free: 248 kB / 0.6075 GB Notification: Performance of Templates: time 0.003197/0.3734, allocations: 1.435 MB / 0.8003 GB, free: 14.82 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++ -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