Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I|sen.V",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I|sen.V",fileNamePrefix="Buildings_latest_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.001098/0.001097, allocations: 100.8 kB / 15.71 MB, free: 460 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.001667/0.001667, allocations: 175.7 kB / 16.58 MB, free: 6.141 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.451/1.451, allocations: 223.3 MB / 240.6 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.69/2.69, allocations: 436.7 MB / 0.7113 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004939/0.000494, allocations: 11.98 kB / 0.8717 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7362/0.7368, allocations: 153.7 MB / 1.022 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.00304/0.7398, allocations: 2.131 MB / 1.024 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001169/0.741, allocations: 0.7249 MB / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.071e-05/0.7411, allocations: 8 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001572/0.7413, allocations: 23.78 kB / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002619/0.7416, allocations: 91.62 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000254/0.7418, allocations: 79.83 kB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002507/0.7421, allocations: 239.3 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002701/0.7424, allocations: 175.2 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.725e-05/0.7425, allocations: 63.77 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002223/0.7427, allocations: 91.66 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.7427, allocations: 8 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001194/0.7429, allocations: 51.89 kB / 1.025 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.171e-05/0.7429, allocations: 43.89 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.085e-05/0.743, allocations: 49.64 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001936/0.7432, allocations: 165.5 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.7432, allocations: 0 / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.134e-06/0.7432, allocations: 0 / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.7432, allocations: 0 / 1.026 GB, free: 13.14 MB / 0.7794 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.0005525/0.7438, allocations: 431.1 kB / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.7438, allocations: 11.98 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003359/0.7442, allocations: 43.78 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002225/0.7444, allocations: 214.8 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.7444, allocations: 12.23 kB / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.7444, allocations: 12 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003499/0.7448, allocations: 238.6 kB / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.7448, allocations: 0 / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.976e-05/0.7448, allocations: 4 kB / 1.026 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.35e-05/0.7449, allocations: 20.27 kB / 1.026 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002268/0.7451, allocations: 140.7 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001032/0.7462, allocations: 1.131 MB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.296e-05/0.7462, allocations: 46.5 kB / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.15e-05/0.7463, allocations: 16.86 kB / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.149e-05/0.7463, allocations: 0 / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.7463, allocations: 34.64 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.7463, allocations: 0 / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0001833/0.7465, allocations: 85.42 kB / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/0.7466, allocations: 55.36 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001521/0.7467, allocations: 179 kB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.7467, allocations: 25.7 kB / 1.028 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.605e-05/0.7468, allocations: 139.4 kB / 1.028 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.623e-05/0.7469, allocations: 15.81 kB / 1.028 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.42e-06/0.7469, allocations: 0 / 1.028 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.747, allocations: 322.8 kB / 1.029 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.647e-05/0.747, allocations: 19.98 kB / 1.029 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.616e-05/0.7471, allocations: 85.44 kB / 1.029 GB, free: 9.555 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.16e-05/0.7472, allocations: 43.92 kB / 1.029 GB, free: 9.512 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.7472, allocations: 0 / 1.029 GB, free: 9.512 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001799/0.7474, allocations: 133.3 kB / 1.029 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.245e-05/0.7475, allocations: 161.8 kB / 1.029 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.7475, allocations: 7.953 kB / 1.029 GB, free: 9.172 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.7475, allocations: 4 kB / 1.029 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.7476, allocations: 23.98 kB / 1.029 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.7476, allocations: 7.938 kB / 1.029 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.739e-05/0.7477, allocations: 19.75 kB / 1.029 GB, free: 9.117 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.7477, allocations: 4 kB / 1.029 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.524e-06/0.7477, allocations: 5.875 kB / 1.029 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001354/0.7479, allocations: 99.7 kB / 1.029 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.974e-06/0.7479, allocations: 4 kB / 1.029 GB, free: 9.008 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.29e-06/0.7479, allocations: 4 kB / 1.029 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.129e-05/0.748, allocations: 27.98 kB / 1.029 GB, free: 8.977 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.748, allocations: 7.938 kB / 1.029 GB, free: 8.969 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.25e-05/0.748, allocations: 15.88 kB / 1.029 GB, free: 8.953 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.7481, allocations: 4 kB / 1.029 GB, free: 8.949 MB / 0.7794 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.0001313/0.7482, allocations: 221.3 kB / 1.029 GB, free: 8.723 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.921e-05/0.7482, allocations: 15.81 kB / 1.029 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.347e-05/0.7483, allocations: 16.92 kB / 1.03 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.7483, allocations: 0 / 1.03 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.7483, allocations: 0 / 1.03 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.7483, allocations: 0 / 1.03 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004137/0.7487, allocations: 473.1 kB / 1.03 GB, free: 8.156 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.7487, allocations: 0 / 1.03 GB, free: 8.156 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.107e-05/0.7488, allocations: 8 kB / 1.03 GB, free: 8.148 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.7488, allocations: 0 / 1.03 GB, free: 8.148 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.7488, allocations: 8 kB / 1.03 GB, free: 8.141 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.7488, allocations: 0 / 1.03 GB, free: 8.141 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.7488, allocations: 7.891 kB / 1.03 GB, free: 8.133 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001174/0.7489, allocations: 115.6 kB / 1.03 GB, free: 7.992 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.898e-05/0.749, allocations: 85.02 kB / 1.03 GB, free: 7.891 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.113e-05/0.749, allocations: 7.984 kB / 1.03 GB, free: 7.883 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.198e-05/0.7491, allocations: 0 / 1.03 GB, free: 7.883 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.911e-05/0.7491, allocations: 11.95 kB / 1.03 GB, free: 7.871 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.7491, allocations: 0 / 1.03 GB, free: 7.871 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.114e-05/0.7492, allocations: 124.9 kB / 1.03 GB, free: 7.75 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7492, allocations: 7.875 kB / 1.03 GB, free: 7.742 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003317/0.7495, allocations: 51.84 kB / 1.03 GB, free: 7.691 MB / 0.7794 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 9.145e-05/0.7496, allocations: 99.23 kB / 1.03 GB, free: 7.586 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001883/0.7498, allocations: 105.1 kB / 1.031 GB, free: 7.484 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.7498, allocations: 0 / 1.031 GB, free: 7.484 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.757e-05/0.7499, allocations: 23.92 kB / 1.031 GB, free: 7.461 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002467/0.7501, allocations: 20.48 kB / 1.031 GB, free: 7.441 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004717/0.7506, allocations: 351 kB / 1.031 GB, free: 7.059 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002946/0.7509, allocations: 0.7282 MB / 1.032 GB, free: 6.305 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.062e-05/0.7509, allocations: 15.44 kB / 1.032 GB, free: 6.289 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.7509, allocations: 0 / 1.032 GB, free: 6.289 MB / 0.7794 GB Notification: Performance of Templates: time 0.002864/0.7538, allocations: 1.431 MB / 1.033 GB, free: 4.863 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile make -j1 -f Buildings_latest_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_latest_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensorCalcHelperMain.o OMCppBuildings_latest_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensorCalcHelperMain.o] Error 1