Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.001078/0.001078, allocations: 101.4 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.001644/0.001644, allocations: 176.4 kB / 16.58 MB, free: 6.047 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.595/1.595, allocations: 223.3 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.043/1.043, allocations: 143.4 MB / 435.1 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004437/0.0004441, allocations: 12 kB / 0.5166 GB, free: 11.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2119, allocations: 83.41 MB / 0.5981 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate): time 0.6312/0.8432, allocations: 152.1 MB / 0.7466 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003508/0.8468, allocations: 1.473 MB / 0.748 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003862/0.8473, allocations: 13.5 kB / 0.748 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005301/0.8478, allocations: 105.4 kB / 0.7481 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001921/0.8497, allocations: 0.503 MB / 0.7486 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001683/0.8514, allocations: 457.4 kB / 0.749 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001217/0.8527, allocations: 0.8332 MB / 0.7498 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003363/0.853, allocations: 173.2 kB / 0.75 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000615/0.8536, allocations: 306.8 kB / 0.7503 GB, free: 328 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002773/0.8539, allocations: 211.2 kB / 0.7505 GB, free: 116 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.724e-05/0.854, allocations: 16.84 kB / 0.7505 GB, free: 100 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001274/0.8552, allocations: 466.8 kB / 0.751 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.8554, allocations: 99.69 kB / 0.7511 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.71e-05/0.8555, allocations: 81.58 kB / 0.7511 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005807/0.8561, allocations: 443 kB / 0.7516 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.8561, allocations: 4 kB / 0.7516 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of FrontEnd: time 4.058e-06/0.8561, allocations: 4 kB / 0.7516 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.8561, allocations: 3.938 kB / 0.7516 GB, free: 15.01 MB / 0.5762 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.0009164/0.857, allocations: 0.5997 MB / 0.7522 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.8571, allocations: 8.875 kB / 0.7522 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001042/0.8581, allocations: 155.4 kB / 0.7523 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004222/0.8586, allocations: 301.9 kB / 0.7526 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.347e-05/0.8586, allocations: 20.38 kB / 0.7526 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.844e-05/0.8586, allocations: 24.5 kB / 0.7526 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004888/0.8591, allocations: 271.5 kB / 0.7529 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.8592, allocations: 4 kB / 0.7529 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.107e-05/0.8592, allocations: 8 kB / 0.7529 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.8592, allocations: 4 kB / 0.7529 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003986/0.8596, allocations: 212.3 kB / 0.7531 GB, free: 13.32 MB / 0.5762 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.001389/0.861, allocations: 1.218 MB / 0.7543 GB, free: 12 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000267/0.8613, allocations: 139.2 kB / 0.7544 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001705/0.8615, allocations: 97.36 kB / 0.7545 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005848/0.8621, allocations: 319.2 kB / 0.7548 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.8621, allocations: 30.56 kB / 0.7549 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 2.394e-06/0.8621, allocations: 4.969 kB / 0.7549 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0007421/0.8629, allocations: 298.5 kB / 0.7552 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.8629, allocations: 55.41 kB / 0.7552 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003183/0.8632, allocations: 312.5 kB / 0.7555 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.602e-05/0.8633, allocations: 25.7 kB / 0.7555 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/0.8634, allocations: 188.1 kB / 0.7557 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.004e-05/0.8635, allocations: 55.2 kB / 0.7558 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.068e-05/0.8635, allocations: 4 kB / 0.7558 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.8636, allocations: 346.8 kB / 0.7561 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.8638, allocations: 67.95 kB / 0.7562 GB, free: 9.98 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001996/0.864, allocations: 129 kB / 0.7563 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001715/0.8642, allocations: 87.89 kB / 0.7564 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.8642, allocations: 0 / 0.7564 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004305/0.8646, allocations: 253.1 kB / 0.7566 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.8647, allocations: 8.094 kB / 0.7566 GB, free: 9.488 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.8647, allocations: 0.875 kB / 0.7566 GB, free: 9.488 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.8647, allocations: 4 kB / 0.7566 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001911/0.8649, allocations: 47.92 kB / 0.7567 GB, free: 9.438 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.8649, allocations: 3.984 kB / 0.7567 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002047/0.8651, allocations: 31.73 kB / 0.7567 GB, free: 9.402 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.142e-05/0.8652, allocations: 16 kB / 0.7567 GB, free: 9.387 MB / 0.5762 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.000166/0.8653, allocations: 157.7 kB / 0.7569 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.723e-05/0.8654, allocations: 23.72 kB / 0.7569 GB, free: 9.199 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004675/0.8659, allocations: 226.7 kB / 0.7571 GB, free: 8.977 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.8659, allocations: 4.141 kB / 0.7571 GB, free: 8.973 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.8659, allocations: 0.5625 kB / 0.7571 GB, free: 8.973 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.8659, allocations: 3.984 kB / 0.7571 GB, free: 8.969 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009601/0.8669, allocations: 0.6991 MB / 0.7578 GB, free: 8.191 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.8669, allocations: 0.875 kB / 0.7578 GB, free: 8.191 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001531/0.867, allocations: 32.2 kB / 0.7578 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-06/0.8671, allocations: 8 kB / 0.7578 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/0.8671, allocations: 8 kB / 0.7579 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.8671, allocations: 0 / 0.7579 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/0.8671, allocations: 11.89 kB / 0.7579 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006228/0.8677, allocations: 454.8 kB / 0.7583 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.8679, allocations: 121.3 kB / 0.7584 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.245e-05/0.8679, allocations: 4 kB / 0.7584 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/0.8681, allocations: 23.92 kB / 0.7584 GB, free: 7.488 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.823e-05/0.8681, allocations: 20 kB / 0.7585 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.8682, allocations: 7.125 kB / 0.7585 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002159/0.8684, allocations: 223 kB / 0.7587 GB, free: 7.246 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8684, allocations: 0 / 0.7587 GB, free: 7.246 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000419/0.8688, allocations: 76 kB / 0.7588 GB, free: 7.172 MB / 0.5762 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.0004422/0.8693, allocations: 167.8 kB / 0.7589 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004191/0.8697, allocations: 181.3 kB / 0.7591 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.8697, allocations: 192 / 0.7591 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000175/0.8699, allocations: 91.89 kB / 0.7592 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008336/0.8707, allocations: 157.8 kB / 0.7593 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.8718, allocations: 0.7432 MB / 0.76 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003584/0.8721, allocations: 0.7758 MB / 0.7608 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.064e-05/0.8722, allocations: 27.42 kB / 0.7608 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of SimCode: time 2.21e-07/0.8722, allocations: 0 / 0.7608 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of Templates: time 0.007525/0.8798, allocations: 4.802 MB / 0.7655 GB, free: 264 kB / 0.5762 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.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 OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRateCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRateCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRateCalcHelperMain.o] Error 1