Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.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.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senDyn.port_a.m_flow|senDyn.V_flow|senSteSta.V_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senDyn.port_a.m_flow|senDyn.V_flow|senSteSta.V_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 102.6 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.001443/0.001443, allocations: 172.9 kB / 16.58 MB, free: 6.398 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.469/1.469, allocations: 223.3 MB / 240.6 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.796/2.796, allocations: 436.7 MB / 0.7113 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003396/0.0003396, allocations: 12 kB / 0.8717 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9007/0.9011, allocations: 153.6 MB / 1.022 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1819/1.083, allocations: 152.1 MB / 1.17 GB, free: 8.617 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00282/1.086, allocations: 1.481 MB / 1.172 GB, free: 7.137 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003133/1.086, allocations: 7.938 kB / 1.172 GB, free: 7.129 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0004536/1.087, allocations: 107.2 kB / 1.172 GB, free: 7.023 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001439/1.088, allocations: 0.5052 MB / 1.172 GB, free: 6.516 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00137/1.09, allocations: 453.6 kB / 1.173 GB, free: 6.074 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0009832/1.091, allocations: 0.8338 MB / 1.173 GB, free: 5.238 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003269/1.091, allocations: 185.1 kB / 1.174 GB, free: 5.059 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005735/1.091, allocations: 294.8 kB / 1.174 GB, free: 4.77 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002926/1.092, allocations: 219.1 kB / 1.174 GB, free: 4.555 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.712e-05/1.092, allocations: 12 kB / 1.174 GB, free: 4.543 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001156/1.093, allocations: 470.8 kB / 1.175 GB, free: 4.082 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001448/1.093, allocations: 91.75 kB / 1.175 GB, free: 3.992 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001019/1.093, allocations: 85.52 kB / 1.175 GB, free: 3.902 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0006606/1.094, allocations: 427.1 kB / 1.175 GB, free: 3.484 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 1.089e-05/1.094, allocations: 0 / 1.175 GB, free: 3.484 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.316e-06/1.094, allocations: 7.938 kB / 1.175 GB, free: 3.477 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.305e-06/1.094, allocations: 0 / 1.175 GB, free: 3.477 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009697/1.095, allocations: 0.5961 MB / 1.176 GB, free: 2.832 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/1.095, allocations: 11.98 kB / 1.176 GB, free: 2.82 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001121/1.096, allocations: 159.4 kB / 1.176 GB, free: 2.664 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004721/1.097, allocations: 297.9 kB / 1.176 GB, free: 2.332 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.842e-05/1.097, allocations: 16.44 kB / 1.176 GB, free: 2.312 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.637e-05/1.097, allocations: 24 kB / 1.176 GB, free: 2.289 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005288/1.097, allocations: 279.5 kB / 1.177 GB, free: 2 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/1.097, allocations: 7.875 kB / 1.177 GB, free: 1.992 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.625e-05/1.097, allocations: 8 kB / 1.177 GB, free: 1.984 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/1.097, allocations: 8 kB / 1.177 GB, free: 1.977 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004057/1.098, allocations: 203.8 kB / 1.177 GB, free: 1.777 MB / 0.92 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.001507/1.099, allocations: 1.225 MB / 1.178 GB, free: 460 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002671/1.099, allocations: 138.5 kB / 1.178 GB, free: 312 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001738/1.1, allocations: 100.8 kB / 1.178 GB, free: 208 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006855/1.1, allocations: 319.2 kB / 1.178 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/1.1, allocations: 34.56 kB / 1.179 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=15): time 2.044e-06/1.1, allocations: 0 / 1.179 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15): time 0.0007365/1.101, allocations: 297.3 kB / 1.179 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/1.101, allocations: 55.41 kB / 1.179 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003787/1.102, allocations: 312.5 kB / 1.179 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/1.102, allocations: 25.7 kB / 1.179 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/1.102, allocations: 188.1 kB / 1.179 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.379e-05/1.102, allocations: 47.3 kB / 1.179 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.189e-05/1.102, allocations: 4 kB / 1.179 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001529/1.102, allocations: 342.8 kB / 1.18 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001796/1.102, allocations: 71.94 kB / 1.18 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002067/1.102, allocations: 127.7 kB / 1.18 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001814/1.103, allocations: 83.89 kB / 1.18 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/1.103, allocations: 4 kB / 1.18 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004531/1.103, allocations: 259.8 kB / 1.18 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/1.103, allocations: 4 kB / 1.18 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/1.103, allocations: 4 kB / 1.18 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/1.103, allocations: 0 / 1.18 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001905/1.103, allocations: 39.98 kB / 1.18 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/1.103, allocations: 12.03 kB / 1.18 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001971/1.104, allocations: 39.66 kB / 1.18 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.838e-05/1.104, allocations: 8.141 kB / 1.18 GB, free: 13.84 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (22): * Single equations (assignments): 22 * 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.0001495/1.104, allocations: 149.8 kB / 1.181 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.008e-05/1.104, allocations: 35.56 kB / 1.181 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004558/1.104, allocations: 231.2 kB / 1.181 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/1.104, allocations: 0 / 1.181 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/1.104, allocations: 0 / 1.181 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/1.104, allocations: 3.938 kB / 1.181 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009918/1.105, allocations: 0.6952 MB / 1.181 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.822e-06/1.105, allocations: 7.984 kB / 1.181 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000159/1.105, allocations: 31.92 kB / 1.181 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/1.105, allocations: 4 kB / 1.181 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/1.105, allocations: 4 kB / 1.181 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/1.106, allocations: 3.938 kB / 1.181 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/1.106, allocations: 8 kB / 1.181 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006261/1.106, allocations: 457.1 kB / 1.182 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/1.106, allocations: 120.7 kB / 1.182 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.628e-05/1.106, allocations: 11.98 kB / 1.182 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/1.106, allocations: 16.05 kB / 1.182 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.155e-05/1.107, allocations: 19.92 kB / 1.182 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/1.107, allocations: 7.953 kB / 1.182 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002009/1.107, allocations: 223.1 kB / 1.182 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/1.107, allocations: 0 / 1.182 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000385/1.107, allocations: 79.89 kB / 1.182 GB, free: 11.62 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.d) * 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 (15): * Single equations (assignments): 15 * 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.000399/1.108, allocations: 167.4 kB / 1.183 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004023/1.108, allocations: 184.5 kB / 1.183 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/1.108, allocations: 0 / 1.183 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001847/1.108, allocations: 87.83 kB / 1.183 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008405/1.109, allocations: 163.4 kB / 1.183 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/1.11, allocations: 0.7371 MB / 1.184 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/1.11, allocations: 0.7798 MB / 1.184 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.713e-05/1.111, allocations: 23.44 kB / 1.184 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of SimCode: time 2.5e-07/1.111, allocations: 0 / 1.184 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of Templates: time 0.007266/1.118, allocations: 4.764 MB / 1.189 GB, free: 4.684 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.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.VolumeFlowRateCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRateCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRateCalcHelperMain.o] Error 1