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.007735/0.007735, allocations: 100.5 kB / 15.87 MB, free: 5.867 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.001469/0.001469, allocations: 191.9 kB / 16.79 MB, free: 5.809 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7205/0.7205, allocations: 132.2 MB / 422.8 MB, free: 2.008 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 63.41 kB / 0.5017 GB, free: 9.23 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1525, allocations: 80.2 MB / 0.58 GB, free: 9.254 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.4669/0.6195, allocations: 167.2 MB / 0.7433 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008236/0.6278, allocations: 7.204 MB / 0.7503 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005865/0.6284, allocations: 10.81 kB / 0.7504 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005751/0.6291, allocations: 132.9 kB / 0.7505 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003149/0.6322, allocations: 1.194 MB / 0.7517 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001614/0.6338, allocations: 0.5724 MB / 0.7522 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009959/0.6349, allocations: 1.053 MB / 0.7532 GB, free: 1.188 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003695/0.6352, allocations: 249 kB / 0.7535 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001042/0.6363, allocations: 0.5374 MB / 0.754 GB, free: 0.7188 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000696/0.637, allocations: 418.4 kB / 0.7544 GB, free: 0.4961 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.216e-05/0.637, allocations: 22.53 kB / 0.7544 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002173/0.6392, allocations: 1.465 MB / 0.7559 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.6394, allocations: 115.5 kB / 0.756 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001672/0.6395, allocations: 171.1 kB / 0.7561 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007438/0.6403, allocations: 0.6237 MB / 0.7567 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.6403, allocations: 0 / 0.7567 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.62e-07/0.6403, allocations: 0 / 0.7567 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.6403, allocations: 0 / 0.7567 GB, free: 14.46 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.001005/0.6413, allocations: 0.6973 MB / 0.7574 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.6414, allocations: 8.031 kB / 0.7574 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001004/0.6424, allocations: 139.3 kB / 0.7576 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000386/0.6428, allocations: 321.2 kB / 0.7579 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.069e-05/0.6429, allocations: 46.27 kB / 0.7579 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.208e-05/0.6429, allocations: 28 kB / 0.7579 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006054/0.6435, allocations: 374.1 kB / 0.7583 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.6435, allocations: 0 / 0.7583 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.112e-05/0.6436, allocations: 8 kB / 0.7583 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.6436, allocations: 8 kB / 0.7583 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004892/0.6441, allocations: 274 kB / 0.7586 GB, free: 12.47 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.00172/0.6458, allocations: 1.492 MB / 0.76 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003763/0.6462, allocations: 194.6 kB / 0.7602 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000211/0.6464, allocations: 112.8 kB / 0.7603 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009823/0.6474, allocations: 0.5052 MB / 0.7608 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.6475, allocations: 42.5 kB / 0.7609 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.353e-06/0.6475, allocations: 4 kB / 0.7609 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0008872/0.6484, allocations: 349.9 kB / 0.7612 GB, free: 9.539 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.6484, allocations: 59.39 kB / 0.7612 GB, free: 9.469 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002996/0.6487, allocations: 312.5 kB / 0.7615 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/0.6488, allocations: 29.7 kB / 0.7616 GB, free: 9.121 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.6489, allocations: 195.9 kB / 0.7618 GB, free: 8.926 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.186e-05/0.6489, allocations: 47.36 kB / 0.7618 GB, free: 8.879 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.836e-05/0.649, allocations: 45.61 kB / 0.7618 GB, free: 8.828 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.6491, allocations: 342.8 kB / 0.7622 GB, free: 8.484 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001861/0.6493, allocations: 83.92 kB / 0.7623 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002155/0.6496, allocations: 156.1 kB / 0.7624 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004533/0.65, allocations: 241.8 kB / 0.7626 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.65, allocations: 0 / 0.7626 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005476/0.6506, allocations: 276.5 kB / 0.7629 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.6506, allocations: 8 kB / 0.7629 GB, free: 7.691 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.6506, allocations: 0 / 0.7629 GB, free: 7.691 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/0.6507, allocations: 8.188 kB / 0.7629 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002246/0.6509, allocations: 43.97 kB / 0.763 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.6509, allocations: 0 / 0.763 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002219/0.6511, allocations: 39.67 kB / 0.763 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.127e-05/0.6512, allocations: 11.94 kB / 0.763 GB, free: 7.59 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.0001483/0.6513, allocations: 153.8 kB / 0.7631 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.965e-05/0.6514, allocations: 35.62 kB / 0.7632 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006656/0.6521, allocations: 318.9 kB / 0.7635 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.6521, allocations: 0 / 0.7635 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.6521, allocations: 4 kB / 0.7635 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.6521, allocations: 0 / 0.7635 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001195/0.6533, allocations: 0.8043 MB / 0.7643 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.6533, allocations: 4.219 kB / 0.7643 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001765/0.6535, allocations: 31.98 kB / 0.7643 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.658e-06/0.6535, allocations: 11.92 kB / 0.7643 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.946e-05/0.6536, allocations: 8 kB / 0.7643 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.6536, allocations: 4 kB / 0.7643 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.6536, allocations: 3.938 kB / 0.7643 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000552/0.6541, allocations: 401.1 kB / 0.7647 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/0.6543, allocations: 128.7 kB / 0.7648 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.576e-05/0.6543, allocations: 20.48 kB / 0.7649 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002491/0.6546, allocations: 19.98 kB / 0.7649 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.198e-05/0.6547, allocations: 15.98 kB / 0.7649 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.713e-05/0.6547, allocations: 15.92 kB / 0.7649 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002001/0.6549, allocations: 227 kB / 0.7651 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6549, allocations: 0 / 0.7651 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005091/0.6554, allocations: 127.8 kB / 0.7653 GB, free: 5.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.0005608/0.656, allocations: 238.1 kB / 0.7655 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004734/0.6565, allocations: 215.7 kB / 0.7657 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.6565, allocations: 4.375 kB / 0.7657 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002133/0.6567, allocations: 111.8 kB / 0.7658 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008316/0.6576, allocations: 155.1 kB / 0.7659 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.6586, allocations: 0.7418 MB / 0.7667 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.659, allocations: 0.7836 MB / 0.7674 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.6591, allocations: 31.38 kB / 0.7675 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of SimCode: time 2.4e-07/0.6591, allocations: 3.938 kB / 0.7675 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of Templates: time 0.008407/0.6675, allocations: 6.237 MB / 0.7736 GB, free: 12.64 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++ -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 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