Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity") translateModel(BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001797/0.001796, 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.002479/0.002479, allocations: 198.8 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.577/2.577, allocations: 222.9 MB / 240.5 MB, free: 4.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00308/0.00308, allocations: 274.7 kB / 290.9 MB, free: 2.074 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.909/1.909, allocations: 169.2 MB / 0.4983 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002516/0.002516, allocations: 96.14 kB / 0.5951 GB, free: 28.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3542, allocations: 86.98 MB / 0.6801 GB, free: 1.172 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity): time 1.368/1.722, allocations: 163 MB / 0.8393 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007314/1.73, allocations: 1.579 MB / 0.8408 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001717/1.732, allocations: 10.28 kB / 0.8408 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0013/1.733, allocations: 118.3 kB / 0.8409 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003403/1.737, allocations: 436.5 kB / 0.8413 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00525/1.742, allocations: 0.6862 MB / 0.842 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003591/1.745, allocations: 0.9896 MB / 0.843 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001326/1.747, allocations: 231 kB / 0.8432 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001892/1.749, allocations: 272.8 kB / 0.8435 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001125/1.75, allocations: 235.5 kB / 0.8437 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001847/1.75, allocations: 20.5 kB / 0.8437 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005341/1.756, allocations: 0.9864 MB / 0.8447 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005727/1.756, allocations: 107.7 kB / 0.8448 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000783/1.757, allocations: 150 kB / 0.8449 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002413/1.759, allocations: 0.5164 MB / 0.8454 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/1.759, allocations: 0 / 0.8454 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.184e-06/1.759, allocations: 1.375 kB / 0.8454 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.917e-05/1.759, allocations: 0 / 0.8454 GB, free: 14.05 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.006418/1.766, allocations: 0.6784 MB / 0.8461 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 9.637e-05/1.766, allocations: 12.97 kB / 0.8461 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001159/1.767, allocations: 85.28 kB / 0.8462 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001049/1.768, allocations: 303.8 kB / 0.8465 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.571e-05/1.768, allocations: 13.94 kB / 0.8465 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001355/1.768, allocations: 23.66 kB / 0.8465 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001557/1.77, allocations: 337.2 kB / 0.8468 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.892e-05/1.77, allocations: 0 / 0.8468 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.324e-05/1.77, allocations: 11.5 kB / 0.8468 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.534e-05/1.77, allocations: 12.38 kB / 0.8468 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001493/1.772, allocations: 279.8 kB / 0.8471 GB, free: 12.78 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.003714/1.775, allocations: 1.077 MB / 0.8482 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001568/1.777, allocations: 331.3 kB / 0.8485 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005769/1.778, allocations: 132.8 kB / 0.8486 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001255/1.779, allocations: 393.6 kB / 0.849 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.744e-05/1.779, allocations: 30.56 kB / 0.849 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=19): time 3.687e-06/1.779, allocations: 2.375 kB / 0.849 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of matching and sorting (n=19): time 0.002345/1.781, allocations: 405.8 kB / 0.8494 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.961e-05/1.781, allocations: 55.34 kB / 0.8494 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005489/1.782, allocations: 270.9 kB / 0.8497 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.89e-05/1.782, allocations: 37.64 kB / 0.8497 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002474/1.782, allocations: 167.8 kB / 0.8499 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001275/1.783, allocations: 70.02 kB / 0.85 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001903/1.783, allocations: 48.52 kB / 0.85 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002761/1.783, allocations: 335.7 kB / 0.8503 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007355/1.784, allocations: 103.3 kB / 0.8504 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006403/1.784, allocations: 168.4 kB / 0.8506 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/1.785, allocations: 260 kB / 0.8508 GB, free: 9.789 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/1.785, allocations: 0 / 0.8508 GB, free: 9.789 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001683/1.787, allocations: 322.3 kB / 0.8511 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.933e-05/1.787, allocations: 5.312 kB / 0.8512 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.481e-05/1.787, allocations: 1.969 kB / 0.8512 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.131e-05/1.787, allocations: 2.688 kB / 0.8512 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007299/1.788, allocations: 66.09 kB / 0.8512 GB, free: 9.598 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.02e-05/1.788, allocations: 6.516 kB / 0.8512 GB, free: 9.594 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006957/1.789, allocations: 42.44 kB / 0.8513 GB, free: 9.57 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.324e-05/1.789, allocations: 5.531 kB / 0.8513 GB, free: 9.57 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000353/1.789, allocations: 154.5 kB / 0.8514 GB, free: 9.43 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001727/1.79, allocations: 31.98 kB / 0.8514 GB, free: 9.41 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002132/1.792, allocations: 312.7 kB / 0.8517 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.424e-05/1.792, allocations: 5.812 kB / 0.8518 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.209e-05/1.792, allocations: 1.688 kB / 0.8518 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.739e-06/1.792, allocations: 7.984 kB / 0.8518 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003198/1.795, allocations: 0.9293 MB / 0.8527 GB, free: 8.422 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.138e-05/1.795, allocations: 4.906 kB / 0.8527 GB, free: 8.422 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004552/1.795, allocations: 51.2 kB / 0.8527 GB, free: 8.406 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.27e-05/1.795, allocations: 2.594 kB / 0.8527 GB, free: 8.406 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.686e-05/1.796, allocations: 4.719 kB / 0.8527 GB, free: 8.406 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.227e-06/1.796, allocations: 6.969 kB / 0.8527 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/1.796, allocations: 3.938 kB / 0.8527 GB, free: 8.398 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001973/1.798, allocations: 0.5586 MB / 0.8533 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002854/1.798, allocations: 123.5 kB / 0.8534 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.779e-05/1.798, allocations: 6.844 kB / 0.8534 GB, free: 7.887 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004796/1.798, allocations: 31.28 kB / 0.8534 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/1.799, allocations: 33.56 kB / 0.8535 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.845e-05/1.799, allocations: 4.875 kB / 0.8535 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003922/1.799, allocations: 194.4 kB / 0.8537 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.2e-07/1.799, allocations: 0 / 0.8537 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001067/1.8, allocations: 112.5 kB / 0.8538 GB, free: 7.691 MB / 0.5762 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 (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.001096/1.801, allocations: 205.6 kB / 0.854 GB, free: 7.559 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001165/1.802, allocations: 254.2 kB / 0.8542 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/1.802, allocations: 0 / 0.8542 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005546/1.803, allocations: 135.9 kB / 0.8543 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001405/1.804, allocations: 122.6 kB / 0.8545 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002369/1.807, allocations: 0.7304 MB / 0.8552 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007904/1.808, allocations: 0.777 MB / 0.8559 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002083/1.808, allocations: 35.53 kB / 0.856 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of SimCode: time 4.61e-07/1.808, allocations: 0 / 0.856 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of Templates: time 0.01955/1.827, allocations: 5.115 MB / 0.861 GB, free: 3.398 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.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.RelativeHumidityCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidityCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidityCalcHelperMain.o] Error 1