Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0009568/0.0009568, allocations: 97.78 kB / 16.02 MB, free: 76 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.001122/0.001122, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.2 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00162/0.00162, allocations: 266.7 kB / 292.3 MB, free: 1.871 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9136/0.9136, allocations: 169.5 MB / 0.501 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004027/0.0004027, allocations: 17.52 kB / 0.5993 GB, free: 28.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1649, allocations: 88.55 MB / 0.6858 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate): time 0.5221/0.6871, allocations: 165 MB / 0.8469 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008137/0.6953, allocations: 7.091 MB / 0.8538 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004773/0.6958, allocations: 17.28 kB / 0.8539 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005194/0.6963, allocations: 138.6 kB / 0.854 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002857/0.6992, allocations: 1.181 MB / 0.8551 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001539/0.7007, allocations: 0.5766 MB / 0.8557 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001047/0.7018, allocations: 1.053 MB / 0.8567 GB, free: 9.93 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004543/0.7023, allocations: 249 kB / 0.857 GB, free: 9.781 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001195/0.7035, allocations: 0.5162 MB / 0.8575 GB, free: 9.477 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008512/0.7043, allocations: 415.1 kB / 0.8579 GB, free: 9.258 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.706e-05/0.7044, allocations: 19.62 kB / 0.8579 GB, free: 9.254 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002361/0.7068, allocations: 1.475 MB / 0.8593 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001577/0.7069, allocations: 102.4 kB / 0.8594 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002393/0.7072, allocations: 192 kB / 0.8596 GB, free: 8.199 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001008/0.7082, allocations: 0.6279 MB / 0.8602 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.7082, allocations: 0 / 0.8602 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.064e-06/0.7082, allocations: 0 / 0.8602 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.277e-05/0.7082, allocations: 2.938 kB / 0.8602 GB, free: 7.836 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001256/0.7095, allocations: 0.6311 MB / 0.8608 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.7096, allocations: 8.25 kB / 0.8609 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001118/0.7107, allocations: 121.9 kB / 0.861 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005119/0.7112, allocations: 324.4 kB / 0.8613 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.258e-05/0.7113, allocations: 50.23 kB / 0.8613 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.377e-05/0.7114, allocations: 24.72 kB / 0.8614 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007281/0.7121, allocations: 381.3 kB / 0.8617 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.7121, allocations: 3.984 kB / 0.8617 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.679e-05/0.7122, allocations: 10.91 kB / 0.8617 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.7122, allocations: 12 kB / 0.8617 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005632/0.7128, allocations: 285.5 kB / 0.862 GB, free: 6.477 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.00216/0.7149, allocations: 1.502 MB / 0.8635 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004187/0.7154, allocations: 205.8 kB / 0.8637 GB, free: 5 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002254/0.7156, allocations: 127.1 kB / 0.8638 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001071/0.7167, allocations: 0.5191 MB / 0.8643 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.7167, allocations: 34.5 kB / 0.8643 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.483e-06/0.7167, allocations: 2.906 kB / 0.8643 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0009674/0.7177, allocations: 375.5 kB / 0.8647 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.7177, allocations: 51.41 kB / 0.8647 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003417/0.7181, allocations: 316.2 kB / 0.865 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.358e-05/0.7181, allocations: 28.67 kB / 0.8651 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/0.7183, allocations: 188.2 kB / 0.8653 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.426e-05/0.7184, allocations: 55.66 kB / 0.8653 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.181e-05/0.7184, allocations: 24.55 kB / 0.8653 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.7186, allocations: 338.8 kB / 0.8657 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001926/0.7188, allocations: 90.02 kB / 0.8657 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002413/0.719, allocations: 155.3 kB / 0.8659 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004328/0.7195, allocations: 253.6 kB / 0.8661 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.7195, allocations: 0 / 0.8661 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006424/0.7201, allocations: 294.1 kB / 0.8664 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.7202, allocations: 2.938 kB / 0.8664 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.7202, allocations: 2.781 kB / 0.8664 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.7202, allocations: 2.719 kB / 0.8664 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002295/0.7204, allocations: 45.48 kB / 0.8665 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/0.7205, allocations: 10.73 kB / 0.8665 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002573/0.7207, allocations: 35.64 kB / 0.8665 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.955e-05/0.7208, allocations: 14.47 kB / 0.8665 GB, free: 2.812 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001965/0.721, allocations: 155.1 kB / 0.8667 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.7211, allocations: 33.77 kB / 0.8667 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007148/0.7218, allocations: 321.9 kB / 0.867 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.7218, allocations: 5.781 kB / 0.867 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.425e-06/0.7218, allocations: 3.312 kB / 0.867 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.7218, allocations: 0 / 0.867 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001355/0.7232, allocations: 0.8181 MB / 0.8678 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.7232, allocations: 2.875 kB / 0.8678 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001703/0.7234, allocations: 31.45 kB / 0.8678 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.7234, allocations: 6.875 kB / 0.8679 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/0.7234, allocations: 17.42 kB / 0.8679 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.7235, allocations: 3 kB / 0.8679 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/0.7235, allocations: 14.66 kB / 0.8679 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006218/0.7241, allocations: 406.1 kB / 0.8683 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001582/0.7243, allocations: 135.5 kB / 0.8684 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.711e-05/0.7243, allocations: 14.89 kB / 0.8684 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002678/0.7246, allocations: 25.08 kB / 0.8684 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.535e-05/0.7247, allocations: 15.52 kB / 0.8685 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-05/0.7247, allocations: 12.08 kB / 0.8685 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002453/0.725, allocations: 227.8 kB / 0.8687 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.725, allocations: 0 / 0.8687 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005646/0.7255, allocations: 121.6 kB / 0.8688 GB, free: 1.145 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 (16): * Single equations (assignments): 16 * 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.0006725/0.7262, allocations: 227.1 kB / 0.869 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005142/0.7267, allocations: 230.3 kB / 0.8692 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.7267, allocations: 0 / 0.8692 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002416/0.727, allocations: 129.5 kB / 0.8694 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009648/0.728, allocations: 150.5 kB / 0.8695 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.7291, allocations: 0.7582 MB / 0.8702 GB, free: 176 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003564/0.7295, allocations: 0.7837 MB / 0.871 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.7296, allocations: 33.75 kB / 0.871 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of SimCode: time 4.41e-07/0.7296, allocations: 0 / 0.871 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of Templates: time 0.009272/0.7389, allocations: 6.209 MB / 0.8771 GB, free: 11.41 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.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.EntropyFlowRateCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRateCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRateCalcHelperMain.o] Error 1