Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.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.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy") translateModel(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000941/0.0009409, allocations: 98.88 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.001032/0.001032, allocations: 183.7 kB / 16.92 MB, free: 6.77 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.396/1.396, allocations: 223.3 MB / 241 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002135/0.002134, allocations: 263.2 kB / 292.3 MB, free: 1.824 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9364/0.9364, allocations: 169.5 MB / 0.501 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004544/0.0004544, allocations: 12.25 kB / 0.5993 GB, free: 28.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1578, allocations: 88.55 MB / 0.6858 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy): time 0.5363/0.6941, allocations: 158.9 MB / 0.8409 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005647/0.6998, allocations: 4.571 MB / 0.8454 GB, free: 2.91 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002458/0.7001, allocations: 10.19 kB / 0.8454 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000441/0.7005, allocations: 95.91 kB / 0.8455 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001346/0.7019, allocations: 0.5079 MB / 0.846 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001589/0.7035, allocations: 0.718 MB / 0.8467 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009039/0.7044, allocations: 0.8065 MB / 0.8475 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003152/0.7047, allocations: 168.4 kB / 0.8476 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009061/0.7056, allocations: 436 kB / 0.848 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005609/0.7062, allocations: 288.5 kB / 0.8483 GB, free: 0.9805 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.047e-05/0.7063, allocations: 11.86 kB / 0.8483 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001663/0.7079, allocations: 1.156 MB / 0.8495 GB, free: 320 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.934e-05/0.708, allocations: 84.31 kB / 0.8495 GB, free: 268 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001479/0.7082, allocations: 141.4 kB / 0.8497 GB, free: 164 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006157/0.7088, allocations: 0.4939 MB / 0.8502 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.7088, allocations: 0 / 0.8502 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.645e-06/0.7088, allocations: 0 / 0.8502 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.7088, allocations: 3.844 kB / 0.8502 GB, free: 15.88 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0008441/0.7097, allocations: 0.5524 MB / 0.8507 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.7097, allocations: 7.844 kB / 0.8507 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006622/0.7104, allocations: 85.11 kB / 0.8508 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003683/0.7108, allocations: 294.9 kB / 0.8511 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.7108, allocations: 11.94 kB / 0.8511 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.275e-05/0.7109, allocations: 26 kB / 0.8511 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004744/0.7113, allocations: 284.2 kB / 0.8514 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.7114, allocations: 3.984 kB / 0.8514 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.557e-05/0.7114, allocations: 10.84 kB / 0.8514 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.7114, allocations: 8.969 kB / 0.8514 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004118/0.7118, allocations: 216 kB / 0.8516 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001533/0.7134, allocations: 1.245 MB / 0.8528 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002814/0.7137, allocations: 182 kB / 0.853 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002042/0.7139, allocations: 122.7 kB / 0.8531 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007019/0.7146, allocations: 340.3 kB / 0.8534 GB, free: 13 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.304e-05/0.7147, allocations: 42.19 kB / 0.8535 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.502e-06/0.7147, allocations: 7.219 kB / 0.8535 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0007511/0.7154, allocations: 298.5 kB / 0.8538 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.264e-05/0.7155, allocations: 157.5 kB / 0.8539 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002689/0.7158, allocations: 281.7 kB / 0.8542 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.765e-05/0.7158, allocations: 32.7 kB / 0.8542 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.7159, allocations: 146.7 kB / 0.8544 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.798e-05/0.716, allocations: 41.05 kB / 0.8544 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.692e-05/0.716, allocations: 19 kB / 0.8544 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.7162, allocations: 340.9 kB / 0.8547 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001685/0.7163, allocations: 76.81 kB / 0.8548 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002287/0.7166, allocations: 157.2 kB / 0.855 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003675/0.717, allocations: 221.3 kB / 0.8552 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.717, allocations: 0 / 0.8552 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004856/0.7175, allocations: 260.7 kB / 0.8554 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.7175, allocations: 5.75 kB / 0.8554 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.7175, allocations: 2.594 kB / 0.8554 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.7175, allocations: 9.688 kB / 0.8554 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001772/0.7177, allocations: 38.41 kB / 0.8555 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.7177, allocations: 10 kB / 0.8555 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/0.7179, allocations: 33.55 kB / 0.8555 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.857e-05/0.7179, allocations: 10.66 kB / 0.8555 GB, free: 11.37 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (18): * Single equations (assignments): 18 * 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.0001467/0.7181, allocations: 149.5 kB / 0.8557 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001431/0.7183, allocations: 34.42 kB / 0.8557 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004769/0.7187, allocations: 198.7 kB / 0.8559 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.7188, allocations: 6.188 kB / 0.8559 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.7188, allocations: 0 / 0.8559 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.7188, allocations: 2.969 kB / 0.8559 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000945/0.7197, allocations: 0.8707 MB / 0.8568 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.7197, allocations: 3.094 kB / 0.8568 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.7199, allocations: 26.58 kB / 0.8568 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/0.7199, allocations: 7.062 kB / 0.8568 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.7199, allocations: 6.922 kB / 0.8568 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.7199, allocations: 0 / 0.8568 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.7199, allocations: 7.531 kB / 0.8568 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005636/0.7205, allocations: 367.8 kB / 0.8572 GB, free: 9.949 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.7206, allocations: 118.5 kB / 0.8573 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.907e-05/0.7206, allocations: 9.922 kB / 0.8573 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.7208, allocations: 10.81 kB / 0.8573 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.234e-05/0.7208, allocations: 10.48 kB / 0.8573 GB, free: 9.812 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.7209, allocations: 5.125 kB / 0.8573 GB, free: 9.812 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002224/0.7211, allocations: 237.9 kB / 0.8575 GB, free: 9.656 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7211, allocations: 0 / 0.8575 GB, free: 9.656 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000471/0.7216, allocations: 97.27 kB / 0.8576 GB, free: 9.637 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * 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 (10): * Single equations (assignments): 10 * 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.0005169/0.7221, allocations: 215.5 kB / 0.8578 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003867/0.7225, allocations: 157.2 kB / 0.858 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.7225, allocations: 4.062 kB / 0.858 GB, free: 9.43 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001476/0.7227, allocations: 62.38 kB / 0.858 GB, free: 9.406 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008281/0.7235, allocations: 136.7 kB / 0.8582 GB, free: 9.34 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008879/0.7244, allocations: 0.6096 MB / 0.8588 GB, free: 8.84 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.7248, allocations: 0.7651 MB / 0.8595 GB, free: 8.098 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.766e-05/0.7248, allocations: 30.69 kB / 0.8595 GB, free: 8.09 MB / 0.5762 GB Notification: Performance of SimCode: time 2.51e-07/0.7248, allocations: 0 / 0.8595 GB, free: 8.09 MB / 0.5762 GB Notification: Performance of Templates: time 0.008079/0.7329, allocations: 5.193 MB / 0.8646 GB, free: 5.449 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.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.SpecificEntropyCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropyCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropyCalcHelperMain.o] Error 1