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.01002/0.01002, allocations: 96.91 kB / 15.87 MB, free: 6.289 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.001985/0.001985, allocations: 196.1 kB / 16.79 MB, free: 6.215 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.527/2.527, allocations: 222.9 MB / 240.5 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.004528/0.004528, allocations: 282.9 kB / 290.9 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.866/1.866, allocations: 169.2 MB / 0.4984 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003744/0.003744, allocations: 92.11 kB / 0.5951 GB, free: 28.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3791/0.3829, allocations: 86.98 MB / 0.6801 GB, free: 1.168 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy): time 1.037/1.42, allocations: 161 MB / 0.8373 GB, free: 60 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01253/1.432, allocations: 4.628 MB / 0.8418 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0012/1.434, allocations: 13.12 kB / 0.8418 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008673/1.435, allocations: 92.17 kB / 0.8419 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002906/1.438, allocations: 0.5159 MB / 0.8424 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003823/1.441, allocations: 0.7033 MB / 0.8431 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002114/1.444, allocations: 0.8146 MB / 0.8439 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006209/1.444, allocations: 180.4 kB / 0.844 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002171/1.446, allocations: 432.5 kB / 0.8445 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001345/1.448, allocations: 298.2 kB / 0.8447 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001036/1.448, allocations: 11.69 kB / 0.8448 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004721/1.453, allocations: 1.16 MB / 0.8459 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003071/1.453, allocations: 89.97 kB / 0.846 GB, free: 14 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005176/1.453, allocations: 118.4 kB / 0.8461 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002165/1.456, allocations: 0.4997 MB / 0.8466 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.838e-06/1.456, allocations: 0 / 0.8466 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.546e-06/1.456, allocations: 0 / 0.8466 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.559e-05/1.456, allocations: 0 / 0.8466 GB, free: 13.68 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.002596/1.458, allocations: 0.5992 MB / 0.8472 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 8.159e-05/1.458, allocations: 10.38 kB / 0.8472 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001336/1.46, allocations: 79.08 kB / 0.8472 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008536/1.461, allocations: 283.4 kB / 0.8475 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.633e-05/1.461, allocations: 22.59 kB / 0.8475 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.194e-05/1.461, allocations: 16.97 kB / 0.8476 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009351/1.462, allocations: 283.4 kB / 0.8478 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/1.462, allocations: 0 / 0.8478 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.344e-05/1.462, allocations: 10.53 kB / 0.8478 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.621e-05/1.462, allocations: 10.44 kB / 0.8478 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007554/1.463, allocations: 212.1 kB / 0.848 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002896/1.466, allocations: 1.239 MB / 0.8493 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004934/1.466, allocations: 170.6 kB / 0.8494 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003583/1.466, allocations: 119.7 kB / 0.8495 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001181/1.468, allocations: 331.1 kB / 0.8498 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.15e-05/1.468, allocations: 41.47 kB / 0.8499 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 3.416e-06/1.468, allocations: 0 / 0.8499 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.001355/1.469, allocations: 276.8 kB / 0.8502 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001339/1.469, allocations: 166.9 kB / 0.8503 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000526/1.47, allocations: 286.6 kB / 0.8506 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.03e-05/1.47, allocations: 32.14 kB / 0.8506 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002066/1.47, allocations: 146.3 kB / 0.8508 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.726e-05/1.47, allocations: 54.16 kB / 0.8508 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001434/1.47, allocations: 37.45 kB / 0.8508 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002208/1.471, allocations: 339.7 kB / 0.8512 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002391/1.471, allocations: 68.62 kB / 0.8512 GB, free: 9.617 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003644/1.471, allocations: 153.4 kB / 0.8514 GB, free: 9.488 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005678/1.472, allocations: 207.8 kB / 0.8516 GB, free: 9.34 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.315e-06/1.472, allocations: 0 / 0.8516 GB, free: 9.34 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0007985/1.473, allocations: 252 kB / 0.8518 GB, free: 9.199 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.966e-05/1.473, allocations: 5.812 kB / 0.8518 GB, free: 9.199 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/1.473, allocations: 3.141 kB / 0.8518 GB, free: 9.199 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.682e-05/1.473, allocations: 2.719 kB / 0.8518 GB, free: 9.199 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002828/1.473, allocations: 37.2 kB / 0.8519 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.282e-05/1.473, allocations: 5.547 kB / 0.8519 GB, free: 9.188 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000404/1.473, allocations: 25.47 kB / 0.8519 GB, free: 9.176 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-05/1.473, allocations: 20.36 kB / 0.8519 GB, free: 9.164 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.0002783/1.474, allocations: 147.1 kB / 0.8521 GB, free: 9.031 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002882/1.474, allocations: 32.78 kB / 0.8521 GB, free: 9.012 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007493/1.475, allocations: 190 kB / 0.8523 GB, free: 8.871 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.717e-06/1.475, allocations: 2 kB / 0.8523 GB, free: 8.871 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/1.475, allocations: 0 / 0.8523 GB, free: 8.871 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/1.475, allocations: 1.75 kB / 0.8523 GB, free: 8.871 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001774/1.477, allocations: 0.8534 MB / 0.8531 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/1.477, allocations: 2.469 kB / 0.8531 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000178/1.477, allocations: 21.61 kB / 0.8531 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.067e-05/1.477, allocations: 6.594 kB / 0.8531 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.331e-05/1.477, allocations: 7.062 kB / 0.8531 GB, free: 8.059 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/1.477, allocations: 4 kB / 0.8531 GB, free: 8.055 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/1.477, allocations: 2.812 kB / 0.8531 GB, free: 8.055 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009344/1.478, allocations: 336.1 kB / 0.8535 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002088/1.478, allocations: 111.6 kB / 0.8536 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.692e-05/1.478, allocations: 18.36 kB / 0.8536 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002591/1.478, allocations: 5.531 kB / 0.8536 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.376e-05/1.479, allocations: 13.02 kB / 0.8536 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/1.479, allocations: 13.25 kB / 0.8536 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004093/1.479, allocations: 232.5 kB / 0.8538 GB, free: 7.488 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.01e-07/1.479, allocations: 0 / 0.8538 GB, free: 7.488 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00115/1.48, allocations: 98.67 kB / 0.8539 GB, free: 7.469 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.001185/1.481, allocations: 222 kB / 0.8541 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006119/1.482, allocations: 144.4 kB / 0.8543 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/1.482, allocations: 0 / 0.8543 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002272/1.482, allocations: 63.97 kB / 0.8543 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001293/1.484, allocations: 133 kB / 0.8545 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001733/1.485, allocations: 0.5815 MB / 0.855 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006307/1.486, allocations: 0.7623 MB / 0.8558 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/1.486, allocations: 24.34 kB / 0.8558 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of SimCode: time 2.8e-07/1.486, allocations: 3.938 kB / 0.8558 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of Templates: time 0.01688/1.503, allocations: 5.245 MB / 0.8609 GB, free: 3.273 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