Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.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.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senS_flow.S_flow|senS.s",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senS_flow.S_flow|senS.s",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, 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.0009898/0.0009902, allocations: 175.4 kB / 16.58 MB, free: 6.422 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.533/1.533, allocations: 223.3 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.764/2.764, allocations: 436.7 MB / 0.7113 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003596/0.0003596, allocations: 12.22 kB / 0.8717 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7883/0.7887, allocations: 153.6 MB / 1.022 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1702/0.9589, allocations: 154 MB / 1.172 GB, free: 6.699 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.007718/0.9667, allocations: 6.639 MB / 1.179 GB, free: 44 kB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004392/0.9672, allocations: 15.88 kB / 1.179 GB, free: 28 kB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005157/0.9677, allocations: 111.2 kB / 1.179 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002285/0.97, allocations: 0.8319 MB / 1.179 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00145/0.9715, allocations: 492.1 kB / 1.18 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0009594/0.9724, allocations: 0.8966 MB / 1.181 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003562/0.9728, allocations: 221.2 kB / 1.181 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009477/0.9738, allocations: 478 kB / 1.181 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007011/0.9745, allocations: 398.7 kB / 1.182 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.926e-05/0.9745, allocations: 12 kB / 1.182 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00145/0.976, allocations: 0.6352 MB / 1.183 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.9761, allocations: 103.7 kB / 1.183 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.396e-05/0.9762, allocations: 85.58 kB / 1.183 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000647/0.9769, allocations: 0.5222 MB / 1.183 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.9769, allocations: 3.938 kB / 1.183 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.804e-06/0.9769, allocations: 0 / 1.183 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.231e-06/0.9769, allocations: 0 / 1.183 GB, free: 11.26 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0009179/0.9778, allocations: 0.6275 MB / 1.184 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.9779, allocations: 15.98 kB / 1.184 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009518/0.9788, allocations: 131.3 kB / 1.184 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004052/0.9792, allocations: 321.3 kB / 1.184 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.182e-05/0.9793, allocations: 50.27 kB / 1.184 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.285e-05/0.9794, allocations: 24 kB / 1.184 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006488/0.98, allocations: 378.1 kB / 1.185 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.9801, allocations: 4 kB / 1.185 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.285e-05/0.9801, allocations: 8 kB / 1.185 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.9801, allocations: 8 kB / 1.185 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005053/0.9806, allocations: 286 kB / 1.185 GB, free: 9.32 MB / 0.9356 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001756/0.9824, allocations: 1.5 MB / 1.186 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003943/0.9828, allocations: 202.5 kB / 1.187 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002172/0.983, allocations: 120.8 kB / 1.187 GB, free: 7.367 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009717/0.984, allocations: 0.517 MB / 1.187 GB, free: 6.758 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.9841, allocations: 42.52 kB / 1.187 GB, free: 6.707 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=15): time 1.472e-06/0.9841, allocations: 0 / 1.187 GB, free: 6.707 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15): time 0.0009468/0.985, allocations: 377 kB / 1.188 GB, free: 6.332 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/0.9851, allocations: 51.41 kB / 1.188 GB, free: 6.27 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003111/0.9854, allocations: 316.5 kB / 1.188 GB, free: 5.949 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.9854, allocations: 25.7 kB / 1.188 GB, free: 5.918 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/0.9856, allocations: 184.1 kB / 1.188 GB, free: 5.734 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.951e-05/0.9856, allocations: 55.28 kB / 1.188 GB, free: 5.68 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.233e-05/0.9856, allocations: 0 / 1.188 GB, free: 5.68 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.9858, allocations: 346.8 kB / 1.189 GB, free: 5.332 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001909/0.986, allocations: 87.94 kB / 1.189 GB, free: 5.246 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002319/0.9862, allocations: 151.8 kB / 1.189 GB, free: 5.078 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002087/0.9864, allocations: 107.9 kB / 1.189 GB, free: 4.973 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.9864, allocations: 0 / 1.189 GB, free: 4.973 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.00057/0.987, allocations: 297.8 kB / 1.189 GB, free: 4.676 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.987, allocations: 4 kB / 1.189 GB, free: 4.672 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.9871, allocations: 4 kB / 1.189 GB, free: 4.668 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.9871, allocations: 8.125 kB / 1.189 GB, free: 4.66 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002298/0.9873, allocations: 51.91 kB / 1.189 GB, free: 4.609 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.859e-05/0.9873, allocations: 4 kB / 1.189 GB, free: 4.605 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002303/0.9876, allocations: 39.67 kB / 1.189 GB, free: 4.566 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.351e-05/0.9876, allocations: 8 kB / 1.189 GB, free: 4.559 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 20 * 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.0001529/0.9878, allocations: 157.8 kB / 1.189 GB, free: 4.395 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.741e-05/0.9879, allocations: 31.67 kB / 1.19 GB, free: 4.363 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006933/0.9886, allocations: 330.6 kB / 1.19 GB, free: 4.039 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.9886, allocations: 0 / 1.19 GB, free: 4.039 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.9886, allocations: 4 kB / 1.19 GB, free: 4.035 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.9886, allocations: 0 / 1.19 GB, free: 4.035 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001224/0.9898, allocations: 0.8121 MB / 1.191 GB, free: 3.145 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.9899, allocations: 4 kB / 1.191 GB, free: 3.141 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001843/0.99, allocations: 40.12 kB / 1.191 GB, free: 3.102 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.9901, allocations: 8 kB / 1.191 GB, free: 3.094 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.019e-05/0.9901, allocations: 8 kB / 1.191 GB, free: 3.086 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.9901, allocations: 4 kB / 1.191 GB, free: 3.082 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.9901, allocations: 3.984 kB / 1.191 GB, free: 3.078 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005636/0.9907, allocations: 409 kB / 1.191 GB, free: 2.641 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/0.9908, allocations: 136.6 kB / 1.191 GB, free: 2.488 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.64e-05/0.9909, allocations: 8 kB / 1.191 GB, free: 2.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002513/0.9911, allocations: 19.98 kB / 1.191 GB, free: 2.461 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.283e-05/0.9912, allocations: 19.94 kB / 1.191 GB, free: 2.441 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.097e-05/0.9912, allocations: 15.98 kB / 1.191 GB, free: 2.426 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002095/0.9914, allocations: 227 kB / 1.191 GB, free: 2.207 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9914, allocations: 0 / 1.191 GB, free: 2.207 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004919/0.9919, allocations: 111.8 kB / 1.192 GB, free: 2.098 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (16): * Single equations (assignments): 16 * 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.0004982/0.9924, allocations: 230.2 kB / 1.192 GB, free: 1.875 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004883/0.9929, allocations: 227.7 kB / 1.192 GB, free: 1.652 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.993, allocations: 4 kB / 1.192 GB, free: 1.648 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002373/0.9932, allocations: 124.6 kB / 1.192 GB, free: 1.527 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000871/0.9941, allocations: 152.9 kB / 1.192 GB, free: 1.375 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.9952, allocations: 0.7304 MB / 1.193 GB, free: 0.582 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003506/0.9956, allocations: 0.7836 MB / 1.194 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.9957, allocations: 27.44 kB / 1.194 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of SimCode: time 3.61e-07/0.9957, allocations: 192 / 1.194 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of Templates: time 0.009108/1.005, allocations: 6.183 MB / 1.2 GB, free: 9.609 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRateCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRateCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRateCalcHelperMain.o] Error 1