Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|specificEntropy.s|specificEntropy1.s",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|specificEntropy.s|specificEntropy1.s",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009127/0.0009126, allocations: 84.58 kB / 17.63 MB, free: 5.715 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.001064/0.001064, allocations: 190 kB / 18.52 MB, free: 5.16 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.49/1.49, allocations: 223.2 MB / 242.5 MB, free: 324 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2498/0.2498, allocations: 44.22 MB / 337.9 MB, free: 2.805 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003466/0.0003466, allocations: 12 kB / 410.3 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.158, allocations: 61.92 MB / 472.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03178/0.1899, allocations: 27.94 MB / 0.4884 GB, free: 1.711 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02107/0.211, allocations: 16.36 MB / 0.5044 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005021/0.2116, allocations: 7.938 kB / 0.5044 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007834/0.2124, allocations: 167 kB / 0.5046 GB, free: 1.133 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.0007156/0.2131, allocations: 266.4 kB / 0.5048 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.3981/0.6112, allocations: 4.636 MB / 0.5093 GB, free: 12.8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002461/0.6137, allocations: 0.959 MB / 0.5103 GB, free: 12.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005951/0.6143, allocations: 187.1 kB / 0.5105 GB, free: 12.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02098/0.6353, allocations: 8.927 MB / 0.5192 GB, free: 12.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007542/0.6361, allocations: 238.8 kB / 0.5194 GB, free: 12.65 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.376e-05/0.6362, allocations: 13.31 kB / 0.5194 GB, free: 12.65 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01488/0.6511, allocations: 6.01 MB / 0.5253 GB, free: 12.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002158/0.6514, allocations: 71.23 kB / 0.5253 GB, free: 12.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002994/0.6517, allocations: 91.64 kB / 0.5254 GB, free: 12.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007731/0.6594, allocations: 2.579 MB / 0.528 GB, free: 11.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.6594, allocations: 0 / 0.528 GB, free: 11.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.567e-06/0.6595, allocations: 0 / 0.528 GB, free: 11.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.162e-05/0.6595, allocations: 3 kB / 0.528 GB, free: 11.96 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.004563/0.6641, allocations: 0.9812 MB / 0.5289 GB, free: 11.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.6641, allocations: 8.906 kB / 0.5289 GB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001534/0.6657, allocations: 199.4 kB / 0.5291 GB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004216/0.6661, allocations: 327.5 kB / 0.5294 GB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.043e-05/0.6661, allocations: 19.47 kB / 0.5294 GB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.792e-05/0.6662, allocations: 27.02 kB / 0.5295 GB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001147/0.6673, allocations: 0.4932 MB / 0.53 GB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.6674, allocations: 2.156 kB / 0.53 GB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.577e-05/0.6674, allocations: 13.84 kB / 0.53 GB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.6674, allocations: 5.812 kB / 0.53 GB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001046/0.6685, allocations: 441 kB / 0.5304 GB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002764/0.6712, allocations: 2.444 MB / 0.5328 GB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/0.6723, allocations: 359.7 kB / 0.5331 GB, free: 8.441 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002697/0.6726, allocations: 118.1 kB / 0.5332 GB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02865/0.7013, allocations: 16.62 MB / 0.5495 GB, free: 6.277 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.119e-05/0.7013, allocations: 40.98 kB / 0.5495 GB, free: 6.234 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 2.786e-06/0.7014, allocations: 0 / 0.5495 GB, free: 6.234 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.002185/0.7035, allocations: 0.5719 MB / 0.5501 GB, free: 5.746 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.509e-05/0.7036, allocations: 106.8 kB / 0.5502 GB, free: 5.617 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000456/0.7041, allocations: 317.8 kB / 0.5505 GB, free: 5.359 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.966e-05/0.7042, allocations: 28.95 kB / 0.5505 GB, free: 5.328 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001747/0.7043, allocations: 207.6 kB / 0.5507 GB, free: 5.164 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.849e-05/0.7044, allocations: 50.2 kB / 0.5507 GB, free: 5.125 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.387e-05/0.7044, allocations: 11.25 kB / 0.5507 GB, free: 5.121 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.7046, allocations: 337.3 kB / 0.5511 GB, free: 4.793 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002524/0.7049, allocations: 98.3 kB / 0.5512 GB, free: 4.719 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003418/0.7052, allocations: 226.2 kB / 0.5514 GB, free: 4.477 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000301/0.7055, allocations: 132 kB / 0.5515 GB, free: 4.383 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.7055, allocations: 0 / 0.5515 GB, free: 4.383 MB / 398.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000707/0.7062, allocations: 351.9 kB / 0.5518 GB, free: 4.117 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.7063, allocations: 8.469 kB / 0.5519 GB, free: 4.109 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.7063, allocations: 8 kB / 0.5519 GB, free: 4.102 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.7063, allocations: 6.734 kB / 0.5519 GB, free: 4.098 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002764/0.7066, allocations: 74.27 kB / 0.5519 GB, free: 4.031 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.339e-05/0.7066, allocations: 7 kB / 0.5519 GB, free: 4.027 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002939/0.7069, allocations: 59.08 kB / 0.552 GB, free: 3.973 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.42e-05/0.707, allocations: 23.12 kB / 0.552 GB, free: 3.953 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 2 (boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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.0001929/0.7072, allocations: 159.9 kB / 0.5522 GB, free: 3.816 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.156e-05/0.7072, allocations: 27.62 kB / 0.5522 GB, free: 3.789 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001549/0.7088, allocations: 1.146 MB / 0.5533 GB, free: 2.996 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.05e-05/0.7088, allocations: 17.84 kB / 0.5533 GB, free: 2.984 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.7088, allocations: 5.734 kB / 0.5533 GB, free: 2.98 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.7089, allocations: 0 / 0.5533 GB, free: 2.98 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007454/0.7096, allocations: 0.6615 MB / 0.554 GB, free: 2.449 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.7096, allocations: 0 / 0.554 GB, free: 2.449 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002162/0.7098, allocations: 62.3 kB / 0.554 GB, free: 2.395 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/0.7099, allocations: 4 kB / 0.554 GB, free: 2.391 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.7099, allocations: 3 kB / 0.5541 GB, free: 2.391 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.7099, allocations: 3.984 kB / 0.5541 GB, free: 2.387 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.7099, allocations: 0 / 0.5541 GB, free: 2.387 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008513/0.7107, allocations: 0.634 MB / 0.5547 GB, free: 1.887 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001758/0.7109, allocations: 206.4 kB / 0.5549 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.032e-05/0.711, allocations: 7.438 kB / 0.5549 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002217/0.7112, allocations: 31.25 kB / 0.5549 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.538e-05/0.7113, allocations: 19.95 kB / 0.5549 GB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.7113, allocations: 7.938 kB / 0.5549 GB, free: 1.641 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003667/0.7117, allocations: 339.5 kB / 0.5553 GB, free: 1.383 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7117, allocations: 0 / 0.5553 GB, free: 1.383 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003352/0.7151, allocations: 0.8505 MB / 0.5561 GB, free: 0.5664 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.003931/0.719, allocations: 1.007 MB / 0.5571 GB, free: 15.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007894/0.7198, allocations: 371.2 kB / 0.5574 GB, free: 15.4 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.7198, allocations: 0 / 0.5574 GB, free: 15.4 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003747/0.7202, allocations: 272.1 kB / 0.5577 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009681/0.7212, allocations: 173.1 kB / 0.5579 GB, free: 15.11 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001679/0.7229, allocations: 1.301 MB / 0.5591 GB, free: 13.92 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004928/0.7234, allocations: 0.8722 MB / 0.56 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.464e-05/0.7235, allocations: 40.67 kB / 0.56 GB, free: 12.99 MB / 414.1 MB Notification: Performance of SimCode: time 1.011e-06/0.7235, allocations: 0 / 0.56 GB, free: 12.99 MB / 414.1 MB Notification: Performance of Templates: time 0.03561/0.7591, allocations: 20.39 MB / 0.5799 GB, free: 8.773 MB / 430.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.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 OMCppModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropyCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropyCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropyCalcHelperMain.o] Error 1