Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.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.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008346/0.0008346, 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.0009874/0.0009874, allocations: 179.2 kB / 16.58 MB, free: 5.934 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.486/1.486, allocations: 223.3 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.449/2.449, allocations: 390.5 MB / 0.6662 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003932/0.0003933, allocations: 11.98 kB / 0.8154 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9231/0.9235, allocations: 142.3 MB / 0.9544 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001334/0.9249, allocations: 0.9916 MB / 0.9554 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1657/1.091, allocations: 119.6 MB / 1.072 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.659e-05/1.091, allocations: 0 / 1.072 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.33e-05/1.091, allocations: 3.938 kB / 1.072 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.225e-05/1.091, allocations: 7.984 kB / 1.072 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003822/1.091, allocations: 43.8 kB / 1.072 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.867e-05/1.091, allocations: 19.86 kB / 1.072 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.039e-05/1.091, allocations: 7.938 kB / 1.072 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.818e-05/1.091, allocations: 8 kB / 1.072 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.335e-05/1.091, allocations: 11.92 kB / 1.072 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/1.092, allocations: 4 kB / 1.072 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.079e-05/1.092, allocations: 12 kB / 1.072 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.701e-05/1.092, allocations: 3.984 kB / 1.072 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.155e-05/1.092, allocations: 29.7 kB / 1.072 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.345e-05/1.092, allocations: 13.95 kB / 1.072 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/1.092, allocations: 3.938 kB / 1.072 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of FrontEnd: time 6.562e-06/1.092, allocations: 4 kB / 1.072 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.775e-06/1.092, allocations: 3.938 kB / 1.072 GB, free: 7.055 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004639/1.092, allocations: 337.1 kB / 1.073 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/1.092, allocations: 12.03 kB / 1.073 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.731e-05/1.092, allocations: 4 kB / 1.073 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/1.092, allocations: 163.1 kB / 1.073 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.995e-05/1.093, allocations: 29.7 kB / 1.073 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/1.093, allocations: 3.984 kB / 1.073 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/1.093, allocations: 41.69 kB / 1.073 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/1.093, allocations: 4 kB / 1.073 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/1.093, allocations: 3.953 kB / 1.073 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/1.093, allocations: 0 / 1.073 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.361e-05/1.093, allocations: 15.98 kB / 1.073 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001936/1.093, allocations: 157.6 kB / 1.073 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.45e-05/1.093, allocations: 30.61 kB / 1.073 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.632e-05/1.093, allocations: 12.86 kB / 1.073 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001923/1.093, allocations: 89.19 kB / 1.073 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/1.093, allocations: 38.56 kB / 1.073 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.333e-06/1.093, allocations: 0 / 1.073 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0002458/1.094, allocations: 57.61 kB / 1.073 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/1.094, allocations: 55.36 kB / 1.073 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.74e-05/1.094, allocations: 101.8 kB / 1.073 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/1.094, allocations: 25.7 kB / 1.073 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.538e-05/1.094, allocations: 80.14 kB / 1.074 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.19e-05/1.094, allocations: 15.81 kB / 1.074 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-06/1.094, allocations: 3.938 kB / 1.074 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001568/1.094, allocations: 314.8 kB / 1.074 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.027e-05/1.094, allocations: 7.984 kB / 1.074 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.916e-05/1.094, allocations: 4 kB / 1.074 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.123e-05/1.094, allocations: 8 kB / 1.074 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/1.094, allocations: 0 / 1.074 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001272/1.094, allocations: 53.67 kB / 1.074 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/1.094, allocations: 8 kB / 1.074 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/1.094, allocations: 3.938 kB / 1.074 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/1.094, allocations: 0 / 1.074 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.875e-05/1.095, allocations: 8 kB / 1.074 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/1.095, allocations: 3.953 kB / 1.074 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.831e-05/1.095, allocations: 3.938 kB / 1.074 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/1.095, allocations: 3.984 kB / 1.074 GB, free: 5.148 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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 8.191e-05/1.095, allocations: 109.8 kB / 1.074 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.344e-06/1.095, allocations: 4 kB / 1.074 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001699/1.095, allocations: 61.62 kB / 1.074 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/1.095, allocations: 4.047 kB / 1.074 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/1.095, allocations: 3.984 kB / 1.074 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/1.095, allocations: 3.953 kB / 1.074 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00012/1.095, allocations: 153.7 kB / 1.074 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.185e-05/1.095, allocations: 4 kB / 1.074 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.723e-05/1.095, allocations: 7.938 kB / 1.074 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.604e-06/1.095, allocations: 0 / 1.074 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/1.095, allocations: 0 / 1.074 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/1.095, allocations: 4 kB / 1.074 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/1.095, allocations: 4 kB / 1.074 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001346/1.095, allocations: 76.97 kB / 1.074 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.186e-05/1.095, allocations: 81.11 kB / 1.074 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/1.095, allocations: 4 kB / 1.074 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.432e-05/1.095, allocations: 0 / 1.074 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.095e-05/1.095, allocations: 7.984 kB / 1.074 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-06/1.095, allocations: 4 kB / 1.074 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.722e-05/1.096, allocations: 75.28 kB / 1.075 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/1.096, allocations: 4 kB / 1.075 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001884/1.096, allocations: 12 kB / 1.075 GB, free: 4.43 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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.0001677/1.096, allocations: 115.1 kB / 1.075 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001286/1.096, allocations: 19.98 kB / 1.075 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/1.096, allocations: 0 / 1.075 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.308e-05/1.096, allocations: 19.98 kB / 1.075 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002315/1.096, allocations: 6.484 kB / 1.075 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003174/1.097, allocations: 170.2 kB / 1.075 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/1.097, allocations: 0.677 MB / 1.076 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.128e-05/1.097, allocations: 11.44 kB / 1.076 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of SimCode: time 2e-07/1.097, allocations: 4 kB / 1.076 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of Templates: time 0.001955/1.099, allocations: 0.5623 MB / 1.076 GB, free: 2.781 MB / 0.8262 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTXCalcHelperMain.o OMCppBuildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTXCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTXCalcHelperMain.o] Error 1