Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.0008299/0.0008299, allocations: 102.6 kB / 15.71 MB, free: 460 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.001196/0.001196, allocations: 172.8 kB / 16.58 MB, free: 6.398 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.408/1.408, allocations: 223.2 MB / 240.6 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8025/0.8025, allocations: 132.3 MB / 424 MB, free: 2.059 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003262/0.0003264, allocations: 12.56 kB / 0.504 GB, free: 4.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5229/0.5232, allocations: 81.58 MB / 0.5837 GB, free: 3.957 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1978/0.7211, allocations: 154 MB / 0.734 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007806/0.729, allocations: 6.632 MB / 0.7405 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005683/0.7296, allocations: 11.94 kB / 0.7405 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005187/0.7301, allocations: 123.1 kB / 0.7406 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002534/0.7327, allocations: 0.8359 MB / 0.7414 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001478/0.7341, allocations: 485.4 kB / 0.7419 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009951/0.7352, allocations: 0.8886 MB / 0.7428 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003781/0.7355, allocations: 217.3 kB / 0.743 GB, free: 13 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009986/0.7365, allocations: 478 kB / 0.7434 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007298/0.7373, allocations: 406.6 kB / 0.7438 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.794e-05/0.7373, allocations: 12 kB / 0.7438 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001452/0.7388, allocations: 0.6391 MB / 0.7445 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.7389, allocations: 95.75 kB / 0.7446 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.701e-05/0.739, allocations: 93.52 kB / 0.7446 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006641/0.7397, allocations: 0.5222 MB / 0.7452 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.7397, allocations: 0 / 0.7452 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.083e-06/0.7397, allocations: 0 / 0.7452 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.768e-06/0.7397, allocations: 0 / 0.7452 GB, free: 10.76 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.0008768/0.7406, allocations: 0.6328 MB / 0.7458 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.7407, allocations: 16.03 kB / 0.7458 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009097/0.7416, allocations: 123.4 kB / 0.7459 GB, free: 9.945 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004116/0.742, allocations: 317.4 kB / 0.7462 GB, free: 9.598 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.259e-05/0.7421, allocations: 50.27 kB / 0.7463 GB, free: 9.543 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.213e-05/0.7421, allocations: 24 kB / 0.7463 GB, free: 9.52 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006287/0.7428, allocations: 378.1 kB / 0.7466 GB, free: 9.133 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.7428, allocations: 7.938 kB / 0.7466 GB, free: 9.125 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.978e-05/0.7428, allocations: 8 kB / 0.7467 GB, free: 9.117 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.7428, allocations: 8 kB / 0.7467 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005089/0.7434, allocations: 286 kB / 0.7469 GB, free: 8.828 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.001758/0.7451, allocations: 1.496 MB / 0.7484 GB, free: 7.203 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003699/0.7455, allocations: 206.5 kB / 0.7486 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002091/0.7457, allocations: 116.8 kB / 0.7487 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009156/0.7467, allocations: 0.5209 MB / 0.7492 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.7467, allocations: 34.56 kB / 0.7492 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.502e-06/0.7467, allocations: 3.938 kB / 0.7493 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0008947/0.7476, allocations: 384.1 kB / 0.7496 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.7477, allocations: 55.34 kB / 0.7497 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003091/0.748, allocations: 312.5 kB / 0.75 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.825e-05/0.748, allocations: 29.7 kB / 0.75 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.7481, allocations: 184 kB / 0.7502 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.039e-05/0.7482, allocations: 51.3 kB / 0.7502 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.132e-05/0.7482, allocations: 0 / 0.7502 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.7484, allocations: 342.8 kB / 0.7505 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001853/0.7485, allocations: 95.92 kB / 0.7506 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000228/0.7488, allocations: 149.9 kB / 0.7508 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002008/0.749, allocations: 106.8 kB / 0.7509 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.749, allocations: 0 / 0.7509 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005359/0.7495, allocations: 300.9 kB / 0.7512 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.7496, allocations: 4 kB / 0.7512 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.904e-06/0.7496, allocations: 4 kB / 0.7512 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.7496, allocations: 4 kB / 0.7512 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002246/0.7498, allocations: 48.09 kB / 0.7512 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.7499, allocations: 4 kB / 0.7512 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002181/0.7501, allocations: 43.62 kB / 0.7513 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.803e-05/0.7501, allocations: 8 kB / 0.7513 GB, free: 4.07 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001577/0.7503, allocations: 153.8 kB / 0.7514 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.418e-05/0.7504, allocations: 27.7 kB / 0.7515 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007049/0.7511, allocations: 327.2 kB / 0.7518 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.7511, allocations: 4 kB / 0.7518 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.7511, allocations: 4 kB / 0.7518 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.7511, allocations: 0 / 0.7518 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001232/0.7524, allocations: 0.8121 MB / 0.7526 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.7524, allocations: 4 kB / 0.7526 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001694/0.7526, allocations: 35.98 kB / 0.7526 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.533e-06/0.7526, allocations: 12.17 kB / 0.7526 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.018e-05/0.7526, allocations: 7.984 kB / 0.7526 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.7526, allocations: 7.938 kB / 0.7526 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.7526, allocations: 0 / 0.7526 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005661/0.7532, allocations: 409 kB / 0.753 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000133/0.7533, allocations: 132.6 kB / 0.7531 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.658e-05/0.7534, allocations: 15.94 kB / 0.7532 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002437/0.7537, allocations: 23.98 kB / 0.7532 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.193e-05/0.7537, allocations: 11.98 kB / 0.7532 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.698e-05/0.7538, allocations: 15.98 kB / 0.7532 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000218/0.754, allocations: 227.1 kB / 0.7534 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.754, allocations: 0 / 0.7534 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005415/0.7545, allocations: 115.9 kB / 0.7535 GB, free: 1.609 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 (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.0005611/0.7551, allocations: 221.8 kB / 0.7538 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005237/0.7556, allocations: 230.5 kB / 0.754 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.7557, allocations: 0 / 0.754 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000226/0.7559, allocations: 119.8 kB / 0.7541 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008567/0.7568, allocations: 167.6 kB / 0.7542 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.758, allocations: 0.7343 MB / 0.755 GB, free: 100 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003987/0.7584, allocations: 0.7836 MB / 0.7557 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/0.7585, allocations: 27.44 kB / 0.7558 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of SimCode: time 2.9e-07/0.7585, allocations: 3.938 kB / 0.7558 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of Templates: time 0.009879/0.7684, allocations: 6.164 MB / 0.7618 GB, free: 9.148 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.makefile make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.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 OMCppIDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRateCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRateCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRateCalcHelperMain.o] Error 1