Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senS_flow.S_flow|senS.s",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senS_flow.S_flow|senS.s",fileNamePrefix="Buildings_9_Buildings.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.00122/0.00122, allocations: 102.7 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.002188/0.002188, allocations: 174.5 kB / 16.58 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 1.608/1.608, allocations: 223.2 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.594/2.594, allocations: 390.4 MB / 0.6662 GB, free: 2.805 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004945/0.0004946, allocations: 8 kB / 0.8154 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9541/0.9547, allocations: 142.3 MB / 0.9544 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1861/1.141, allocations: 154 MB / 1.105 GB, free: 5.715 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.007803/1.149, allocations: 6.637 MB / 1.111 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004613/1.149, allocations: 15.94 kB / 1.111 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0004703/1.15, allocations: 111.1 kB / 1.111 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002157/1.152, allocations: 0.8397 MB / 1.112 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001214/1.153, allocations: 478.9 kB / 1.113 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0008107/1.154, allocations: 0.9005 MB / 1.114 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003435/1.154, allocations: 217.3 kB / 1.114 GB, free: 12.51 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008464/1.155, allocations: 478.1 kB / 1.114 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006448/1.156, allocations: 406.6 kB / 1.115 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 3.461e-05/1.156, allocations: 12 kB / 1.115 GB, free: 11.63 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001234/1.157, allocations: 0.6314 MB / 1.115 GB, free: 11 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001093/1.157, allocations: 103.7 kB / 1.115 GB, free: 10.9 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 7.192e-05/1.157, allocations: 89.52 kB / 1.115 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0005642/1.158, allocations: 0.5222 MB / 1.116 GB, free: 10.28 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/1.158, allocations: 0 / 1.116 GB, free: 10.28 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.423e-06/1.158, allocations: 0 / 1.116 GB, free: 10.28 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.35e-06/1.158, allocations: 0 / 1.116 GB, free: 10.28 MB / 0.8731 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.0007794/1.159, allocations: 0.639 MB / 1.117 GB, free: 9.594 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/1.159, allocations: 12.03 kB / 1.117 GB, free: 9.582 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008593/1.159, allocations: 127.4 kB / 1.117 GB, free: 9.457 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003668/1.16, allocations: 313.5 kB / 1.117 GB, free: 9.113 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.599e-05/1.16, allocations: 54.27 kB / 1.117 GB, free: 9.051 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.824e-05/1.16, allocations: 27.95 kB / 1.117 GB, free: 9.023 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005727/1.161, allocations: 374.1 kB / 1.117 GB, free: 8.641 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/1.161, allocations: 0 / 1.117 GB, free: 8.641 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.992e-05/1.161, allocations: 12 kB / 1.117 GB, free: 8.629 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/1.161, allocations: 12 kB / 1.117 GB, free: 8.617 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004714/1.161, allocations: 278 kB / 1.118 GB, free: 8.348 MB / 0.8731 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.001625/1.163, allocations: 1.507 MB / 1.119 GB, free: 6.707 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003528/1.163, allocations: 198.6 kB / 1.119 GB, free: 6.504 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001927/1.163, allocations: 116.8 kB / 1.119 GB, free: 6.387 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008602/1.164, allocations: 0.5208 MB / 1.12 GB, free: 5.773 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/1.164, allocations: 42.5 kB / 1.12 GB, free: 5.723 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=15): time 1.343e-06/1.164, allocations: 0 / 1.12 GB, free: 5.723 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15): time 0.0008311/1.165, allocations: 374.4 kB / 1.12 GB, free: 5.352 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/1.165, allocations: 51.41 kB / 1.12 GB, free: 5.289 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002795/1.165, allocations: 312.5 kB / 1.121 GB, free: 4.977 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.962e-05/1.165, allocations: 29.7 kB / 1.121 GB, free: 4.941 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000115/1.166, allocations: 188.1 kB / 1.121 GB, free: 4.754 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.867e-05/1.166, allocations: 47.3 kB / 1.121 GB, free: 4.707 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.24e-05/1.166, allocations: 4 kB / 1.121 GB, free: 4.703 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.00012/1.166, allocations: 346.8 kB / 1.121 GB, free: 4.355 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001892/1.166, allocations: 83.94 kB / 1.121 GB, free: 4.273 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002254/1.166, allocations: 159.8 kB / 1.122 GB, free: 4.098 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001989/1.166, allocations: 106.4 kB / 1.122 GB, free: 3.996 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/1.166, allocations: 0 / 1.122 GB, free: 3.996 MB / 0.8731 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005239/1.167, allocations: 293.1 kB / 1.122 GB, free: 3.703 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/1.167, allocations: 4 kB / 1.122 GB, free: 3.699 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/1.167, allocations: 4 kB / 1.122 GB, free: 3.695 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/1.167, allocations: 3.938 kB / 1.122 GB, free: 3.691 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002067/1.167, allocations: 51.92 kB / 1.122 GB, free: 3.641 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/1.167, allocations: 0 / 1.122 GB, free: 3.641 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001982/1.167, allocations: 43.8 kB / 1.122 GB, free: 3.598 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.173e-05/1.167, allocations: 12 kB / 1.122 GB, free: 3.586 MB / 0.8731 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.0001435/1.168, allocations: 157.7 kB / 1.122 GB, free: 3.422 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.344e-05/1.168, allocations: 23.72 kB / 1.122 GB, free: 3.398 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006843/1.168, allocations: 330.7 kB / 1.122 GB, free: 3.07 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.207e-06/1.168, allocations: 0 / 1.122 GB, free: 3.07 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/1.168, allocations: 3.953 kB / 1.122 GB, free: 3.066 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/1.168, allocations: 4 kB / 1.122 GB, free: 3.062 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001165/1.17, allocations: 0.8124 MB / 1.123 GB, free: 2.172 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/1.17, allocations: 4 kB / 1.123 GB, free: 2.168 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001702/1.17, allocations: 43.91 kB / 1.123 GB, free: 2.125 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/1.17, allocations: 4 kB / 1.123 GB, free: 2.121 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/1.17, allocations: 8 kB / 1.123 GB, free: 2.113 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/1.17, allocations: 0 / 1.123 GB, free: 2.113 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/1.17, allocations: 7.938 kB / 1.123 GB, free: 2.105 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005639/1.17, allocations: 409.1 kB / 1.124 GB, free: 1.668 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/1.17, allocations: 144.7 kB / 1.124 GB, free: 1.508 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.064e-05/1.171, allocations: 7.938 kB / 1.124 GB, free: 1.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002372/1.171, allocations: 27.98 kB / 1.124 GB, free: 1.473 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.842e-05/1.171, allocations: 19.92 kB / 1.124 GB, free: 1.453 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.583e-05/1.171, allocations: 11.98 kB / 1.124 GB, free: 1.441 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001982/1.171, allocations: 227 kB / 1.124 GB, free: 1.219 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.31e-07/1.171, allocations: 0 / 1.124 GB, free: 1.219 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004375/1.172, allocations: 107.8 kB / 1.124 GB, free: 1.113 MB / 0.8731 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.0004232/1.172, allocations: 218.1 kB / 1.124 GB, free: 0.9023 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004272/1.172, allocations: 223.7 kB / 1.125 GB, free: 0.6836 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/1.172, allocations: 0 / 1.125 GB, free: 0.6836 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002113/1.173, allocations: 128.5 kB / 1.125 GB, free: 0.5586 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007734/1.173, allocations: 157 kB / 1.125 GB, free: 416 kB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009873/1.174, allocations: 0.7266 MB / 1.126 GB, free: 15.62 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003264/1.175, allocations: 0.7875 MB / 1.126 GB, free: 14.81 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.674e-05/1.175, allocations: 31.44 kB / 1.126 GB, free: 14.78 MB / 0.8887 GB Notification: Performance of SimCode: time 2.51e-07/1.175, allocations: 0 / 1.126 GB, free: 14.78 MB / 0.8887 GB Notification: Performance of Templates: time 0.008258/1.183, allocations: 6.195 MB / 1.133 GB, free: 8.629 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile make -j1 -f Buildings_9_Buildings.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 OMCppBuildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRateCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRateCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRateCalcHelperMain.o] Error 1