Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009538/0.0009538, allocations: 91.84 kB / 16.02 MB, free: 80 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.001018/0.001018, allocations: 182.6 kB / 16.92 MB, free: 6.652 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.348/1.348, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002365/0.002364, allocations: 266.6 kB / 292.3 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9489/0.9489, allocations: 169.5 MB / 0.501 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004044/0.0004045, allocations: 14.16 kB / 0.5993 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.1734, allocations: 88.54 MB / 0.6858 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.503/0.6764, allocations: 163.1 MB / 0.8451 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007606/0.6841, allocations: 6.469 MB / 0.8514 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005209/0.6847, allocations: 12.72 kB / 0.8514 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005739/0.6853, allocations: 135.1 kB / 0.8515 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002142/0.6874, allocations: 0.7886 MB / 0.8523 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008777/0.6883, allocations: 297.9 kB / 0.8526 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001094/0.6894, allocations: 1.008 MB / 0.8536 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004742/0.6899, allocations: 224 kB / 0.8538 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001168/0.6911, allocations: 0.5035 MB / 0.8543 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004498/0.6915, allocations: 282.9 kB / 0.8545 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.208e-05/0.6916, allocations: 12.91 kB / 0.8545 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006945/0.6923, allocations: 389.6 kB / 0.8549 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001299/0.6924, allocations: 99.27 kB / 0.855 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001779/0.6926, allocations: 178.1 kB / 0.8552 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004153/0.693, allocations: 321.1 kB / 0.8555 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.6931, allocations: 4 kB / 0.8555 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6931, allocations: 0 / 0.8555 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.6931, allocations: 0 / 0.8555 GB, free: 11.45 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0008325/0.6939, allocations: 0.5645 MB / 0.856 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.694, allocations: 9.094 kB / 0.8561 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00032/0.6943, allocations: 64.05 kB / 0.8561 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003935/0.6947, allocations: 313 kB / 0.8564 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.576e-05/0.6947, allocations: 23.38 kB / 0.8564 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.453e-05/0.6948, allocations: 28.62 kB / 0.8565 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000545/0.6953, allocations: 319.4 kB / 0.8568 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.6953, allocations: 3.938 kB / 0.8568 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.384e-05/0.6954, allocations: 10.97 kB / 0.8568 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.6954, allocations: 7.656 kB / 0.8568 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004049/0.6958, allocations: 210.5 kB / 0.857 GB, free: 10.25 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.001565/0.6974, allocations: 1.536 MB / 0.8585 GB, free: 8.801 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002745/0.6977, allocations: 125.9 kB / 0.8586 GB, free: 8.73 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001819/0.6978, allocations: 101.2 kB / 0.8587 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006114/0.6985, allocations: 318.8 kB / 0.859 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.6985, allocations: 41.31 kB / 0.859 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.663e-06/0.6985, allocations: 3.938 kB / 0.8591 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0007317/0.6993, allocations: 286.4 kB / 0.8593 GB, free: 8.172 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/0.6993, allocations: 54.06 kB / 0.8594 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003159/0.6996, allocations: 309.1 kB / 0.8597 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.6996, allocations: 28.64 kB / 0.8597 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.6998, allocations: 184.9 kB / 0.8599 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.1e-05/0.6998, allocations: 48.14 kB / 0.8599 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.442e-05/0.6999, allocations: 23.52 kB / 0.8599 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.7, allocations: 335.8 kB / 0.8603 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001502/0.7002, allocations: 64.61 kB / 0.8603 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000185/0.7004, allocations: 122.4 kB / 0.8604 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003181/0.7007, allocations: 180.1 kB / 0.8606 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.7007, allocations: 6.938 kB / 0.8606 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004138/0.7011, allocations: 225.1 kB / 0.8608 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.7011, allocations: 9.828 kB / 0.8608 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.7012, allocations: 3.312 kB / 0.8608 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.7012, allocations: 4.938 kB / 0.8609 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001642/0.7014, allocations: 34.58 kB / 0.8609 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.7014, allocations: 3.844 kB / 0.8609 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002126/0.7016, allocations: 44.7 kB / 0.8609 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.826e-05/0.7016, allocations: 8.578 kB / 0.8609 GB, free: 6.91 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 (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001302/0.7018, allocations: 151.1 kB / 0.8611 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.761e-05/0.7018, allocations: 30.53 kB / 0.8611 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004246/0.7022, allocations: 223.8 kB / 0.8613 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.7023, allocations: 0 / 0.8613 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.7023, allocations: 3.984 kB / 0.8613 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-06/0.7023, allocations: 0 / 0.8613 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009398/0.7032, allocations: 0.6942 MB / 0.862 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.7032, allocations: 5.094 kB / 0.862 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001266/0.7034, allocations: 32.58 kB / 0.862 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.7034, allocations: 2.938 kB / 0.862 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.7034, allocations: 6.844 kB / 0.8621 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/0.7034, allocations: 5.719 kB / 0.8621 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.7034, allocations: 7.281 kB / 0.8621 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004219/0.7038, allocations: 348 kB / 0.8624 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.704, allocations: 110.8 kB / 0.8625 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.647e-05/0.704, allocations: 6.906 kB / 0.8625 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001758/0.7042, allocations: 25.69 kB / 0.8625 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.572e-05/0.7042, allocations: 16.59 kB / 0.8625 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.7043, allocations: 10.2 kB / 0.8626 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001994/0.7045, allocations: 221.3 kB / 0.8628 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7045, allocations: 0 / 0.8628 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003712/0.7048, allocations: 80.06 kB / 0.8628 GB, free: 5.43 MB / 0.5762 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003618/0.7052, allocations: 161.9 kB / 0.863 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004104/0.7056, allocations: 165.7 kB / 0.8632 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.7057, allocations: 4 kB / 0.8632 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001769/0.7058, allocations: 93.91 kB / 0.8633 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008707/0.7067, allocations: 140.3 kB / 0.8634 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000856/0.7076, allocations: 0.6797 MB / 0.864 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000323/0.7079, allocations: 0.7856 MB / 0.8648 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.717e-05/0.708, allocations: 27.25 kB / 0.8648 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of SimCode: time 2.61e-07/0.708, allocations: 0 / 0.8648 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of Templates: time 0.007365/0.7154, allocations: 4.52 MB / 0.8693 GB, free: 1.539 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRateCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRateCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRateCalcHelperMain.o] Error 1