Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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.0007854/0.0007854, allocations: 94.42 kB / 16.33 MB, free: 5.566 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007935/0.0007935, allocations: 185.8 kB / 17.22 MB, free: 5.48 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.57/1.57, allocations: 223.2 MB / 241.2 MB, free: 368 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8098/0.8098, allocations: 114.3 MB / 406.7 MB, free: 8.254 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000494/0.0004941, allocations: 16 kB / 494.4 MB, free: 1.492 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5441/0.5446, allocations: 77.26 MB / 0.5583 GB, free: 36.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate): time 0.194/0.7387, allocations: 152 MB / 0.7068 GB, free: 12.63 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00298/0.7417, allocations: 1.476 MB / 0.7082 GB, free: 11.15 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002993/0.742, allocations: 7.938 kB / 0.7082 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005229/0.7426, allocations: 107.2 kB / 0.7083 GB, free: 11.04 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001784/0.7444, allocations: 0.5054 MB / 0.7088 GB, free: 10.53 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001439/0.7458, allocations: 454.4 kB / 0.7093 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001039/0.7469, allocations: 0.8299 MB / 0.7101 GB, free: 9.258 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003353/0.7472, allocations: 173.2 kB / 0.7102 GB, free: 9.09 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005603/0.7478, allocations: 310.8 kB / 0.7105 GB, free: 8.785 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003263/0.7481, allocations: 215.2 kB / 0.7107 GB, free: 8.574 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.383e-05/0.7482, allocations: 12 kB / 0.7107 GB, free: 8.562 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001452/0.7497, allocations: 466.8 kB / 0.7112 GB, free: 8.105 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001584/0.7498, allocations: 99.67 kB / 0.7113 GB, free: 8.008 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002122/0.75, allocations: 85.52 kB / 0.7114 GB, free: 7.918 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007605/0.7508, allocations: 435 kB / 0.7118 GB, free: 7.492 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.7508, allocations: 4 kB / 0.7118 GB, free: 7.488 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.867e-06/0.7508, allocations: 3.984 kB / 0.7118 GB, free: 7.484 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.7509, allocations: 0 / 0.7118 GB, free: 7.484 MB / 0.545 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.001089/0.752, allocations: 0.5883 MB / 0.7124 GB, free: 6.848 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/0.752, allocations: 16.03 kB / 0.7124 GB, free: 6.832 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001067/0.7531, allocations: 159.3 kB / 0.7125 GB, free: 6.676 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004472/0.7536, allocations: 297.8 kB / 0.7128 GB, free: 6.34 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.7536, allocations: 16.44 kB / 0.7128 GB, free: 6.324 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5e-05/0.7536, allocations: 24 kB / 0.7129 GB, free: 6.301 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004975/0.7541, allocations: 280.6 kB / 0.7131 GB, free: 6.008 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.7542, allocations: 7.922 kB / 0.7131 GB, free: 6 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.333e-05/0.7542, allocations: 7.984 kB / 0.7131 GB, free: 5.992 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.7542, allocations: 8 kB / 0.7131 GB, free: 5.984 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004046/0.7546, allocations: 207.8 kB / 0.7133 GB, free: 5.781 MB / 0.545 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.001476/0.7561, allocations: 1.205 MB / 0.7145 GB, free: 4.473 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002723/0.7564, allocations: 142.5 kB / 0.7147 GB, free: 4.324 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001809/0.7566, allocations: 104.8 kB / 0.7148 GB, free: 4.219 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005996/0.7572, allocations: 323.2 kB / 0.7151 GB, free: 3.848 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.7572, allocations: 34.56 kB / 0.7151 GB, free: 3.805 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.723e-06/0.7572, allocations: 0 / 0.7151 GB, free: 3.805 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0007791/0.758, allocations: 289.5 kB / 0.7154 GB, free: 3.516 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.7581, allocations: 59.41 kB / 0.7154 GB, free: 3.445 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003402/0.7584, allocations: 312.5 kB / 0.7157 GB, free: 3.125 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.49e-05/0.7585, allocations: 33.64 kB / 0.7158 GB, free: 3.086 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.7586, allocations: 180.1 kB / 0.7159 GB, free: 2.906 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.899e-05/0.7587, allocations: 63.11 kB / 0.716 GB, free: 2.844 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.237e-05/0.7587, allocations: 8 kB / 0.716 GB, free: 2.836 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.7588, allocations: 334.8 kB / 0.7163 GB, free: 2.5 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001618/0.759, allocations: 71.95 kB / 0.7164 GB, free: 2.43 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002033/0.7592, allocations: 122.8 kB / 0.7165 GB, free: 2.293 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001767/0.7594, allocations: 87.95 kB / 0.7166 GB, free: 2.207 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.7594, allocations: 0 / 0.7166 GB, free: 2.207 MB / 0.545 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004566/0.7599, allocations: 249.2 kB / 0.7168 GB, free: 1.957 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.7599, allocations: 4 kB / 0.7168 GB, free: 1.953 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.7599, allocations: 4 kB / 0.7168 GB, free: 1.949 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.7599, allocations: 0 / 0.7168 GB, free: 1.949 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002027/0.7601, allocations: 47.91 kB / 0.7169 GB, free: 1.902 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.7602, allocations: 4 kB / 0.7169 GB, free: 1.898 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001984/0.7604, allocations: 35.8 kB / 0.7169 GB, free: 1.863 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.782e-05/0.7604, allocations: 12 kB / 0.7169 GB, free: 1.852 MB / 0.545 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.0001596/0.7606, allocations: 153.7 kB / 0.7171 GB, free: 1.691 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.144e-05/0.7606, allocations: 31.58 kB / 0.7171 GB, free: 1.66 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004618/0.7611, allocations: 227.2 kB / 0.7173 GB, free: 1.438 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.7611, allocations: 0 / 0.7173 GB, free: 1.438 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.7611, allocations: 0 / 0.7173 GB, free: 1.438 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.7611, allocations: 3.984 kB / 0.7173 GB, free: 1.434 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/0.7622, allocations: 0.6992 MB / 0.718 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.7622, allocations: 8.031 kB / 0.718 GB, free: 0.6484 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001583/0.7624, allocations: 27.98 kB / 0.718 GB, free: 0.6211 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.012e-06/0.7624, allocations: 4 kB / 0.718 GB, free: 0.6172 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.7624, allocations: 8 kB / 0.7181 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.212e-06/0.7624, allocations: 11.92 kB / 0.7181 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.7624, allocations: 0 / 0.7181 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006383/0.7631, allocations: 448.9 kB / 0.7185 GB, free: 124 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001576/0.7632, allocations: 124.8 kB / 0.7186 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.07e-05/0.7633, allocations: 4 kB / 0.7186 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001782/0.7635, allocations: 23.98 kB / 0.7186 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.039e-05/0.7635, allocations: 11.98 kB / 0.7186 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.7635, allocations: 7.953 kB / 0.7187 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002309/0.7638, allocations: 231 kB / 0.7189 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7638, allocations: 0 / 0.7189 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003992/0.7642, allocations: 79.91 kB / 0.719 GB, free: 15.63 MB / 0.5606 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.0004356/0.7646, allocations: 182.5 kB / 0.7191 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004122/0.7651, allocations: 175.9 kB / 0.7193 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.7651, allocations: 0 / 0.7193 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001775/0.7653, allocations: 91.88 kB / 0.7194 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008721/0.7661, allocations: 156.7 kB / 0.7195 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.7673, allocations: 0.7371 MB / 0.7203 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003775/0.7677, allocations: 0.7758 MB / 0.721 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.408e-05/0.7677, allocations: 27.44 kB / 0.721 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of SimCode: time 2.6e-07/0.7677, allocations: 3.938 kB / 0.721 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of Templates: time 0.009491/0.7772, allocations: 4.772 MB / 0.7257 GB, free: 8.699 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.makefile make -j1 -f IBPSA_latest_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 OMCppIBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRateCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRateCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRateCalcHelperMain.o] Error 1