Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.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.SpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senStr.port_a.m_flow|senStr.s|senFloSou.s",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senStr.port_a.m_flow|senStr.s|senFloSou.s",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008297/0.0008297, allocations: 100.5 kB / 15.71 MB, free: 452 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.0009531/0.0009532, allocations: 174.9 kB / 16.58 MB, free: 6.422 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.51/1.51, allocations: 223.3 MB / 240.6 MB, free: 5.418 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.608/2.608, allocations: 390.4 MB / 0.6662 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003422/0.0003423, allocations: 11.98 kB / 0.8154 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8708/0.8711, allocations: 142.3 MB / 0.9544 GB, free: 8.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1942/1.065, allocations: 148.2 MB / 1.099 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005341/1.071, allocations: 4.262 MB / 1.103 GB, free: 7.273 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002486/1.071, allocations: 7.938 kB / 1.103 GB, free: 7.266 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004077/1.071, allocations: 95.34 kB / 1.103 GB, free: 7.172 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001289/1.073, allocations: 374.2 kB / 1.104 GB, free: 6.805 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001631/1.074, allocations: 0.5277 MB / 1.104 GB, free: 6.281 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0008505/1.075, allocations: 0.686 MB / 1.105 GB, free: 5.59 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003094/1.076, allocations: 165.2 kB / 1.105 GB, free: 5.43 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000882/1.076, allocations: 370.4 kB / 1.105 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005339/1.077, allocations: 271 kB / 1.106 GB, free: 4.801 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.282e-05/1.077, allocations: 12 kB / 1.106 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001264/1.078, allocations: 0.5145 MB / 1.106 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001082/1.078, allocations: 79.77 kB / 1.106 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.345e-05/1.079, allocations: 69.58 kB / 1.106 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005605/1.079, allocations: 407.2 kB / 1.107 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/1.079, allocations: 4 kB / 1.107 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.653e-06/1.079, allocations: 0 / 1.107 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.641e-06/1.079, allocations: 0 / 1.107 GB, free: 3.719 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0008246/1.08, allocations: 0.5606 MB / 1.107 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/1.08, allocations: 8.031 kB / 1.107 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006045/1.081, allocations: 83.58 kB / 1.107 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003511/1.081, allocations: 279.5 kB / 1.108 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/1.081, allocations: 12 kB / 1.108 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.964e-05/1.081, allocations: 20 kB / 1.108 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004841/1.082, allocations: 291.4 kB / 1.108 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/1.082, allocations: 0 / 1.108 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.534e-05/1.082, allocations: 8 kB / 1.108 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/1.082, allocations: 4 kB / 1.108 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004031/1.082, allocations: 219.7 kB / 1.108 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001453/1.083, allocations: 1.253 MB / 1.109 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000273/1.084, allocations: 181 kB / 1.11 GB, free: 0.582 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001887/1.084, allocations: 116.2 kB / 1.11 GB, free: 464 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006788/1.085, allocations: 343.2 kB / 1.11 GB, free: 64 kB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.234e-05/1.085, allocations: 50.67 kB / 1.11 GB, free: 4 kB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 1.233e-06/1.085, allocations: 0 / 1.11 GB, free: 4 kB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.0007578/1.085, allocations: 289.6 kB / 1.11 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.447e-05/1.086, allocations: 162.2 kB / 1.111 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002717/1.086, allocations: 283 kB / 1.111 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/1.086, allocations: 30.08 kB / 1.111 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/1.086, allocations: 147.8 kB / 1.111 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.95e-05/1.086, allocations: 47.48 kB / 1.111 GB, free: 15 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.587e-06/1.086, allocations: 4 kB / 1.111 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001221/1.086, allocations: 338.8 kB / 1.111 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/1.086, allocations: 67.95 kB / 1.111 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002132/1.087, allocations: 153.6 kB / 1.112 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001722/1.087, allocations: 91.89 kB / 1.112 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/1.087, allocations: 3.953 kB / 1.112 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004749/1.087, allocations: 261.1 kB / 1.112 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/1.087, allocations: 4 kB / 1.112 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/1.087, allocations: 4 kB / 1.112 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/1.087, allocations: 4 kB / 1.112 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001955/1.088, allocations: 39.91 kB / 1.112 GB, free: 14 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/1.088, allocations: 4 kB / 1.112 GB, free: 14 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001994/1.088, allocations: 43.83 kB / 1.112 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.38e-05/1.088, allocations: 12 kB / 1.112 GB, free: 13.95 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (18): * Single equations (assignments): 18 * 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.0001522/1.088, allocations: 145.8 kB / 1.112 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/1.088, allocations: 31.67 kB / 1.112 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004725/1.089, allocations: 193.9 kB / 1.112 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/1.089, allocations: 4 kB / 1.112 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/1.089, allocations: 0 / 1.112 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/1.089, allocations: 0 / 1.112 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/1.09, allocations: 0.8665 MB / 1.113 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/1.09, allocations: 3.938 kB / 1.113 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000115/1.09, allocations: 27.92 kB / 1.113 GB, free: 12.58 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/1.09, allocations: 4 kB / 1.113 GB, free: 12.58 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/1.09, allocations: 8.156 kB / 1.113 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/1.09, allocations: 0 / 1.113 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.266e-05/1.09, allocations: 7.984 kB / 1.113 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005452/1.09, allocations: 359.3 kB / 1.114 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/1.09, allocations: 120.7 kB / 1.114 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.946e-05/1.091, allocations: 4 kB / 1.114 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/1.091, allocations: 16.05 kB / 1.114 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.925e-05/1.091, allocations: 15.97 kB / 1.114 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/1.091, allocations: 11.94 kB / 1.114 GB, free: 12 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002312/1.091, allocations: 229.9 kB / 1.114 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.11e-07/1.091, allocations: 0 / 1.114 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004549/1.091, allocations: 95.98 kB / 1.114 GB, free: 11.68 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * 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 (10): * Single equations (assignments): 10 * 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.0005342/1.092, allocations: 191.1 kB / 1.114 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003868/1.092, allocations: 156 kB / 1.114 GB, free: 11.33 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/1.092, allocations: 0 / 1.114 GB, free: 11.33 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000144/1.093, allocations: 63.91 kB / 1.114 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007419/1.093, allocations: 132.2 kB / 1.115 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009125/1.094, allocations: 0.5959 MB / 1.115 GB, free: 10.5 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/1.095, allocations: 0.756 MB / 1.116 GB, free: 9.715 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.679e-05/1.095, allocations: 27.52 kB / 1.116 GB, free: 9.688 MB / 0.8731 GB Notification: Performance of SimCode: time 2.4e-07/1.095, allocations: 3.938 kB / 1.116 GB, free: 9.684 MB / 0.8731 GB Notification: Performance of Templates: time 0.008046/1.103, allocations: 5.121 MB / 1.121 GB, free: 4.598 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.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.SpecificEntropyCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropyCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropyCalcHelperMain.o] Error 1