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.0007546/0.0007547, 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.0007727/0.0007727, allocations: 183.7 kB / 16.92 MB, free: 6.738 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.315/1.315, allocations: 223.3 MB / 241 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7304/0.7304, allocations: 132.3 MB / 424.4 MB, free: 2.027 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002963/0.0002964, allocations: 12.55 kB / 0.5046 GB, free: 3.93 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4412/0.4415, allocations: 81.58 MB / 0.5843 GB, free: 4.051 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1753/0.6168, allocations: 165 MB / 0.7454 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00752/0.6244, allocations: 7.103 MB / 0.7524 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004622/0.6249, allocations: 15.88 kB / 0.7524 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004595/0.6253, allocations: 135.1 kB / 0.7525 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002525/0.6279, allocations: 1.183 MB / 0.7537 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001489/0.6294, allocations: 0.5699 MB / 0.7542 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001351/0.6307, allocations: 1.064 MB / 0.7553 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004596/0.6312, allocations: 254 kB / 0.7555 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001064/0.6323, allocations: 0.5216 MB / 0.756 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008334/0.6331, allocations: 418.4 kB / 0.7564 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.623e-05/0.6332, allocations: 12 kB / 0.7564 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002558/0.6357, allocations: 1.477 MB / 0.7579 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001165/0.6359, allocations: 99.69 kB / 0.758 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001997/0.6361, allocations: 184.9 kB / 0.7582 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0008354/0.6369, allocations: 0.6314 MB / 0.7588 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.6369, allocations: 0 / 0.7588 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.464e-06/0.6369, allocations: 0 / 0.7588 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.637, allocations: 0 / 0.7588 GB, free: 13.16 MB / 0.5919 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.001089/0.638, allocations: 0.6351 MB / 0.7594 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.6381, allocations: 8.031 kB / 0.7594 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009601/0.6391, allocations: 135.3 kB / 0.7595 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004073/0.6395, allocations: 321.2 kB / 0.7598 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.667e-05/0.6396, allocations: 46.27 kB / 0.7599 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.448e-05/0.6396, allocations: 28 kB / 0.7599 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006473/0.6403, allocations: 378.1 kB / 0.7603 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.6403, allocations: 0 / 0.7603 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.771e-05/0.6403, allocations: 19.94 kB / 0.7603 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.799e-06/0.6404, allocations: 4 kB / 0.7603 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005411/0.6409, allocations: 286 kB / 0.7606 GB, free: 11.21 MB / 0.5919 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.001856/0.6428, allocations: 1.5 MB / 0.762 GB, free: 9.586 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003832/0.6432, allocations: 198.6 kB / 0.7622 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002167/0.6434, allocations: 120.8 kB / 0.7623 GB, free: 9.262 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000971/0.6444, allocations: 0.5248 MB / 0.7628 GB, free: 8.645 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.6444, allocations: 34.5 kB / 0.7629 GB, free: 8.602 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.423e-06/0.6444, allocations: 0 / 0.7629 GB, free: 8.602 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.000929/0.6453, allocations: 373 kB / 0.7632 GB, free: 8.23 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.6454, allocations: 55.41 kB / 0.7633 GB, free: 8.164 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003151/0.6457, allocations: 320.5 kB / 0.7636 GB, free: 7.844 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.6457, allocations: 25.7 kB / 0.7636 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.6459, allocations: 188 kB / 0.7638 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.389e-05/0.6459, allocations: 43.36 kB / 0.7638 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.073e-05/0.646, allocations: 29.7 kB / 0.7639 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.6461, allocations: 342.8 kB / 0.7642 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002346/0.6464, allocations: 91.92 kB / 0.7643 GB, free: 7.113 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002296/0.6466, allocations: 151.4 kB / 0.7644 GB, free: 6.945 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004149/0.647, allocations: 249.8 kB / 0.7647 GB, free: 6.68 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.647, allocations: 0 / 0.7647 GB, free: 6.68 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005655/0.6476, allocations: 304.7 kB / 0.7649 GB, free: 6.379 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.6476, allocations: 7.938 kB / 0.765 GB, free: 6.371 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.6476, allocations: 0 / 0.765 GB, free: 6.371 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.6477, allocations: 4 kB / 0.765 GB, free: 6.367 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002146/0.6479, allocations: 44.17 kB / 0.765 GB, free: 6.324 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.986e-06/0.6479, allocations: 11.92 kB / 0.765 GB, free: 6.312 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002206/0.6481, allocations: 35.67 kB / 0.765 GB, free: 6.277 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/0.6482, allocations: 16 kB / 0.7651 GB, free: 6.262 MB / 0.5919 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.0001479/0.6483, allocations: 145.8 kB / 0.7652 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.835e-05/0.6484, allocations: 27.72 kB / 0.7652 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007087/0.6491, allocations: 332 kB / 0.7655 GB, free: 5.754 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.6492, allocations: 0 / 0.7655 GB, free: 5.754 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.6492, allocations: 4 kB / 0.7655 GB, free: 5.75 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.6492, allocations: 0 / 0.7655 GB, free: 5.75 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001227/0.6504, allocations: 0.8161 MB / 0.7663 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.471e-06/0.6504, allocations: 11.94 kB / 0.7664 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001719/0.6506, allocations: 31.98 kB / 0.7664 GB, free: 4.812 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.6506, allocations: 4 kB / 0.7664 GB, free: 4.809 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.6506, allocations: 12.2 kB / 0.7664 GB, free: 4.797 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.6507, allocations: 8 kB / 0.7664 GB, free: 4.789 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.6507, allocations: 3.938 kB / 0.7664 GB, free: 4.785 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006085/0.6513, allocations: 408.9 kB / 0.7668 GB, free: 4.348 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000143/0.6514, allocations: 136.6 kB / 0.7669 GB, free: 4.195 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.435e-05/0.6515, allocations: 7.984 kB / 0.7669 GB, free: 4.188 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002544/0.6517, allocations: 31.92 kB / 0.767 GB, free: 4.156 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.296e-05/0.6518, allocations: 16.03 kB / 0.767 GB, free: 4.141 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.553e-05/0.6518, allocations: 15.97 kB / 0.767 GB, free: 4.125 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002069/0.652, allocations: 223.1 kB / 0.7672 GB, free: 3.906 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.652, allocations: 4 kB / 0.7672 GB, free: 3.902 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000472/0.6525, allocations: 123.8 kB / 0.7673 GB, free: 3.781 MB / 0.5919 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.0005211/0.6531, allocations: 238 kB / 0.7676 GB, free: 3.555 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004795/0.6535, allocations: 227.7 kB / 0.7678 GB, free: 3.332 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.6536, allocations: 4 kB / 0.7678 GB, free: 3.328 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002723/0.6538, allocations: 116.6 kB / 0.7679 GB, free: 3.215 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009096/0.6548, allocations: 152.9 kB / 0.768 GB, free: 3.066 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.6558, allocations: 0.752 MB / 0.7688 GB, free: 2.258 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003431/0.6561, allocations: 0.7836 MB / 0.7695 GB, free: 1.445 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.6563, allocations: 35.44 kB / 0.7696 GB, free: 1.41 MB / 0.5919 GB Notification: Performance of SimCode: time 3.31e-07/0.6563, allocations: 0 / 0.7696 GB, free: 1.41 MB / 0.5919 GB Notification: Performance of Templates: time 0.009081/0.6653, allocations: 6.188 MB / 0.7756 GB, free: 11.29 MB / 0.6075 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