Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.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.RelativeHumidity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|relHum.port_a.m_flow|relHum.phi|senRelHum.phi",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity") translateModel(Buildings.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|relHum.port_a.m_flow|relHum.phi|senRelHum.phi",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 102.6 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.00251/0.00251, allocations: 171.9 kB / 16.58 MB, free: 6.398 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.649/1.649, allocations: 223.2 MB / 240.6 MB, free: 5.414 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.643/2.643, allocations: 390.4 MB / 0.6662 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003768/0.0003768, allocations: 12 kB / 0.8154 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.928/0.9284, allocations: 142.3 MB / 0.9544 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1894/1.118, allocations: 150.1 MB / 1.101 GB, free: 9.617 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003128/1.121, allocations: 1.48 MB / 1.102 GB, free: 8.133 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003552/1.121, allocations: 15.88 kB / 1.102 GB, free: 8.117 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005167/1.122, allocations: 99.27 kB / 1.103 GB, free: 8.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001165/1.123, allocations: 354.3 kB / 1.103 GB, free: 7.672 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001795/1.125, allocations: 0.5597 MB / 1.103 GB, free: 7.113 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0009635/1.126, allocations: 0.8306 MB / 1.104 GB, free: 6.273 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003483/1.126, allocations: 200.3 kB / 1.104 GB, free: 6.082 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004983/1.127, allocations: 282.8 kB / 1.105 GB, free: 5.805 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002729/1.127, allocations: 215.1 kB / 1.105 GB, free: 5.594 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.74e-05/1.127, allocations: 12 kB / 1.105 GB, free: 5.582 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001204/1.128, allocations: 0.5417 MB / 1.105 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001207/1.129, allocations: 99.73 kB / 1.106 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.49e-05/1.129, allocations: 85.52 kB / 1.106 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006239/1.129, allocations: 467 kB / 1.106 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/1.129, allocations: 0 / 1.106 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.395e-06/1.129, allocations: 0 / 1.106 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.442e-06/1.129, allocations: 0 / 1.106 GB, free: 4.395 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001102/1.13, allocations: 0.637 MB / 1.107 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/1.13, allocations: 12.03 kB / 1.107 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004843/1.131, allocations: 83.56 kB / 1.107 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000418/1.131, allocations: 294 kB / 1.107 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/1.131, allocations: 16.56 kB / 1.107 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.54e-05/1.131, allocations: 24 kB / 1.107 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000658/1.132, allocations: 348.2 kB / 1.107 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/1.132, allocations: 0 / 1.107 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.92e-05/1.132, allocations: 11.95 kB / 1.107 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.789e-06/1.132, allocations: 8 kB / 1.107 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000697/1.133, allocations: 317.5 kB / 1.108 GB, free: 2.574 MB / 0.8575 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.001726/1.135, allocations: 1.079 MB / 1.109 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008519/1.135, allocations: 339.7 kB / 1.109 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000329/1.136, allocations: 152.8 kB / 1.109 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006989/1.137, allocations: 408.3 kB / 1.11 GB, free: 456 kB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/1.137, allocations: 38.5 kB / 1.11 GB, free: 408 kB / 0.8575 GB Notification: Performance of pre-optimization done (n=19): time 1.323e-06/1.137, allocations: 0 / 1.11 GB, free: 408 kB / 0.8575 GB Notification: Performance of matching and sorting (n=19): time 0.00123/1.138, allocations: 450.7 kB / 1.11 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/1.138, allocations: 59.41 kB / 1.11 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002823/1.138, allocations: 267 kB / 1.11 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.4e-05/1.138, allocations: 29.7 kB / 1.11 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/1.138, allocations: 172.1 kB / 1.111 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.095e-05/1.138, allocations: 63.02 kB / 1.111 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.464e-05/1.138, allocations: 4 kB / 1.111 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001501/1.139, allocations: 342.8 kB / 1.111 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002775/1.139, allocations: 111.9 kB / 1.111 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003308/1.139, allocations: 195.3 kB / 1.111 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003048/1.14, allocations: 135.9 kB / 1.111 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/1.14, allocations: 0 / 1.111 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000709/1.14, allocations: 350.9 kB / 1.112 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/1.14, allocations: 4 kB / 1.112 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/1.14, allocations: 3.953 kB / 1.112 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/1.14, allocations: 4 kB / 1.112 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002702/1.141, allocations: 67.89 kB / 1.112 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/1.141, allocations: 4 kB / 1.112 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002707/1.141, allocations: 47.91 kB / 1.112 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.28e-05/1.141, allocations: 11.98 kB / 1.112 GB, free: 14.04 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (24): * Single equations (assignments): 24 * 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.0001752/1.141, allocations: 157.7 kB / 1.112 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.087e-05/1.141, allocations: 23.72 kB / 1.112 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007803/1.142, allocations: 355.6 kB / 1.112 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/1.142, allocations: 0 / 1.112 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/1.142, allocations: 0 / 1.112 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/1.142, allocations: 3.953 kB / 1.112 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001491/1.143, allocations: 0.9603 MB / 1.113 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/1.144, allocations: 7.953 kB / 1.113 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002517/1.144, allocations: 63.83 kB / 1.113 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/1.144, allocations: 4 kB / 1.113 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.792e-05/1.144, allocations: 4 kB / 1.113 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/1.144, allocations: 8.188 kB / 1.113 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/1.144, allocations: 0 / 1.113 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/1.145, allocations: 0.6036 MB / 1.114 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001342/1.145, allocations: 128.7 kB / 1.114 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.832e-05/1.145, allocations: 7.938 kB / 1.114 GB, free: 11.56 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002351/1.145, allocations: 39.97 kB / 1.114 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.296e-05/1.145, allocations: 23.91 kB / 1.114 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.036e-05/1.145, allocations: 8 kB / 1.114 GB, free: 11.49 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001988/1.146, allocations: 193.9 kB / 1.114 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/1.146, allocations: 0 / 1.114 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004856/1.146, allocations: 107.8 kB / 1.115 GB, free: 11.2 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 1 (relHum.phi) * 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 (19): * Single equations (assignments): 19 * 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.000491/1.147, allocations: 196.7 kB / 1.115 GB, free: 11 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0006784/1.147, allocations: 283.9 kB / 1.115 GB, free: 10.73 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/1.147, allocations: 4.062 kB / 1.115 GB, free: 10.72 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000338/1.148, allocations: 152.2 kB / 1.115 GB, free: 10.57 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007163/1.148, allocations: 135.5 kB / 1.115 GB, free: 10.44 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001125/1.15, allocations: 0.7284 MB / 1.116 GB, free: 9.672 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/1.15, allocations: 0.7836 MB / 1.117 GB, free: 8.863 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.279e-05/1.15, allocations: 27.42 kB / 1.117 GB, free: 8.836 MB / 0.8731 GB Notification: Performance of SimCode: time 7.81e-07/1.15, allocations: 3.938 kB / 1.117 GB, free: 8.832 MB / 0.8731 GB Notification: Performance of Templates: time 0.007669/1.158, allocations: 5.097 MB / 1.122 GB, free: 3.781 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.makefile make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.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.RelativeHumidityCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidityCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidityCalcHelperMain.o] Error 1