Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.002093/0.002093, allocations: 100.1 kB / 15.88 MB, free: 12 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.003148/0.003148, allocations: 198 kB / 16.79 MB, free: 6.863 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.663/2.663, allocations: 222.9 MB / 240.5 MB, free: 4.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003504/0.003504, allocations: 284.1 kB / 290.9 MB, free: 2.09 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.639/1.639, allocations: 169.2 MB / 0.4984 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002619/0.002619, allocations: 93.06 kB / 0.5951 GB, free: 28.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3416, allocations: 86.98 MB / 0.6801 GB, free: 1.195 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate): time 1.24/1.581, allocations: 167.2 MB / 0.8433 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01948/1.601, allocations: 7.199 MB / 0.8504 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001518/1.602, allocations: 11.88 kB / 0.8504 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001434/1.604, allocations: 141.4 kB / 0.8505 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008421/1.612, allocations: 1.182 MB / 0.8517 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004056/1.617, allocations: 0.585 MB / 0.8522 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002945/1.62, allocations: 1.057 MB / 0.8533 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001235/1.621, allocations: 243.6 kB / 0.8535 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003075/1.624, allocations: 0.5289 MB / 0.854 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002118/1.626, allocations: 428.8 kB / 0.8544 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001848/1.626, allocations: 17.69 kB / 0.8545 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005945/1.632, allocations: 1.465 MB / 0.8559 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003809/1.633, allocations: 113 kB / 0.856 GB, free: 9.762 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006866/1.633, allocations: 172.7 kB / 0.8562 GB, free: 9.656 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002564/1.636, allocations: 0.6289 MB / 0.8568 GB, free: 9.293 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/1.636, allocations: 0 / 0.8568 GB, free: 9.293 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.455e-06/1.636, allocations: 0 / 0.8568 GB, free: 9.293 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.92e-05/1.636, allocations: 3.938 kB / 0.8568 GB, free: 9.289 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.002377/1.638, allocations: 0.6966 MB / 0.8575 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.498e-05/1.638, allocations: 10.06 kB / 0.8575 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001656/1.64, allocations: 124.6 kB / 0.8576 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007531/1.641, allocations: 333.9 kB / 0.8579 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001209/1.641, allocations: 51.16 kB / 0.8579 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.108e-05/1.641, allocations: 29.5 kB / 0.858 GB, free: 8.254 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/1.642, allocations: 362.9 kB / 0.8583 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/1.642, allocations: 3.938 kB / 0.8583 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.091e-05/1.642, allocations: 14.91 kB / 0.8583 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.749e-05/1.642, allocations: 7.062 kB / 0.8583 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008601/1.643, allocations: 270.7 kB / 0.8586 GB, free: 7.879 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.003246/1.646, allocations: 1.491 MB / 0.8601 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007405/1.647, allocations: 197.6 kB / 0.8603 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003714/1.648, allocations: 117.6 kB / 0.8604 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00163/1.649, allocations: 0.5027 MB / 0.8609 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.934e-05/1.649, allocations: 37.44 kB / 0.8609 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 3.126e-06/1.649, allocations: 0 / 0.8609 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.00156/1.651, allocations: 355.3 kB / 0.8612 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.695e-05/1.651, allocations: 61.47 kB / 0.8613 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005612/1.652, allocations: 312.4 kB / 0.8616 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.974e-05/1.652, allocations: 31.89 kB / 0.8616 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002321/1.652, allocations: 181.9 kB / 0.8618 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.525e-05/1.652, allocations: 52.3 kB / 0.8618 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000155/1.652, allocations: 43.14 kB / 0.8619 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002331/1.652, allocations: 342.6 kB / 0.8622 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003284/1.653, allocations: 93.56 kB / 0.8623 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003993/1.653, allocations: 141.5 kB / 0.8624 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007334/1.654, allocations: 240.4 kB / 0.8627 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.006e-05/1.654, allocations: 3.938 kB / 0.8627 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.00107/1.655, allocations: 287.8 kB / 0.8629 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.379e-05/1.655, allocations: 4.875 kB / 0.8629 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.659e-05/1.655, allocations: 6.047 kB / 0.8629 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.752e-05/1.655, allocations: 3.219 kB / 0.863 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003735/1.655, allocations: 41.92 kB / 0.863 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.713e-05/1.656, allocations: 1.844 kB / 0.863 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004841/1.656, allocations: 44.78 kB / 0.863 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.904e-05/1.656, allocations: 9.5 kB / 0.863 GB, free: 4.223 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.0003339/1.656, allocations: 156.8 kB / 0.8632 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000204/1.657, allocations: 28.5 kB / 0.8632 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001149/1.658, allocations: 313.6 kB / 0.8635 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/1.658, allocations: 2.938 kB / 0.8635 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/1.658, allocations: 3.938 kB / 0.8635 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/1.658, allocations: 3.984 kB / 0.8635 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002295/1.66, allocations: 0.8039 MB / 0.8643 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/1.66, allocations: 3.984 kB / 0.8643 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003066/1.661, allocations: 40.14 kB / 0.8644 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-05/1.661, allocations: 2.281 kB / 0.8644 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.213e-05/1.661, allocations: 8.719 kB / 0.8644 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.073e-06/1.661, allocations: 2.906 kB / 0.8644 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/1.661, allocations: 224 / 0.8644 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/1.662, allocations: 412.3 kB / 0.8648 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002991/1.662, allocations: 128.8 kB / 0.8649 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001087/1.662, allocations: 10.72 kB / 0.8649 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004768/1.663, allocations: 20.16 kB / 0.8649 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/1.663, allocations: 19.39 kB / 0.8649 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.278e-05/1.663, allocations: 11.94 kB / 0.8649 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000461/1.663, allocations: 226.9 kB / 0.8652 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/1.663, allocations: 0 / 0.8652 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0011/1.664, allocations: 124.9 kB / 0.8653 GB, free: 2.559 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.001237/1.666, allocations: 240.7 kB / 0.8655 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009642/1.667, allocations: 213.7 kB / 0.8657 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.744e-06/1.667, allocations: 0 / 0.8657 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004237/1.667, allocations: 123.4 kB / 0.8658 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001595/1.669, allocations: 152.8 kB / 0.866 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002446/1.671, allocations: 0.7346 MB / 0.8667 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009355/1.672, allocations: 0.7812 MB / 0.8675 GB, free: 0.8633 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000204/1.672, allocations: 29.69 kB / 0.8675 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of SimCode: time 8.81e-07/1.672, allocations: 0 / 0.8675 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of Templates: time 0.02191/1.694, allocations: 6.253 MB / 0.8736 GB, free: 13.65 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.makefile make -j1 -f BuildingSystems_BuildingSystems.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 OMCppBuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRateCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRateCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRateCalcHelperMain.o] Error 1