Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.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.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck") translateModel(BuildingSystems.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009128/0.0009129, allocations: 98.72 kB / 16.02 MB, free: 76 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.001042/0.001042, allocations: 185 kB / 16.92 MB, free: 6.895 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.346/1.346, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001657/0.001657, allocations: 266.9 kB / 292.3 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9696/0.9696, allocations: 169.5 MB / 0.501 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004485/0.0004485, allocations: 14.16 kB / 0.5993 GB, free: 28.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1692, allocations: 88.55 MB / 0.6858 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirDerivativeCheck): time 0.001387/0.1707, allocations: 1.052 MB / 0.6868 GB, free: 14.03 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5241/0.6948, allocations: 144.2 MB / 0.8277 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.413e-05/0.6949, allocations: 1.156 kB / 0.8277 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.835e-05/0.695, allocations: 7.922 kB / 0.8277 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001055/0.6951, allocations: 9.641 kB / 0.8277 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001095/0.6962, allocations: 301.3 kB / 0.828 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001103/0.6963, allocations: 80.69 kB / 0.828 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.726e-05/0.6963, allocations: 2 kB / 0.828 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.716e-05/0.6964, allocations: 34.39 kB / 0.8281 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.6965, allocations: 37.88 kB / 0.8281 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.6965, allocations: 3.25 kB / 0.8281 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008927/0.6974, allocations: 0.4931 MB / 0.8286 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.514e-05/0.6975, allocations: 16.2 kB / 0.8286 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.861e-05/0.6975, allocations: 54.19 kB / 0.8287 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002276/0.6978, allocations: 114.4 kB / 0.8288 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.6978, allocations: 0 / 0.8288 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.552e-06/0.6978, allocations: 1 kB / 0.8288 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.6978, allocations: 0 / 0.8288 GB, free: 15.3 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000405/0.6982, allocations: 365.8 kB / 0.8291 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.6983, allocations: 14 kB / 0.8291 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003971/0.6987, allocations: 38.16 kB / 0.8292 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.6988, allocations: 165.7 kB / 0.8293 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.6988, allocations: 15.22 kB / 0.8293 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.835e-05/0.6988, allocations: 8.656 kB / 0.8293 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.699, allocations: 76.75 kB / 0.8294 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.699, allocations: 0 / 0.8294 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.699, allocations: 1.188 kB / 0.8294 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.6991, allocations: 9.328 kB / 0.8294 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.178e-05/0.6992, allocations: 49.7 kB / 0.8295 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001928/0.6994, allocations: 195.5 kB / 0.8297 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001661/0.6995, allocations: 92.94 kB / 0.8298 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.05e-05/0.6996, allocations: 32.47 kB / 0.8298 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002399/0.6998, allocations: 179.3 kB / 0.83 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.6999, allocations: 32.25 kB / 0.83 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.302e-06/0.6999, allocations: 1.188 kB / 0.83 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19): time 0.001257/0.7011, allocations: 0.546 MB / 0.8305 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.608e-05/0.7012, allocations: 54.16 kB / 0.8306 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.462e-05/0.7013, allocations: 96.17 kB / 0.8307 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.7013, allocations: 30.77 kB / 0.8307 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.688e-05/0.7013, allocations: 81.89 kB / 0.8308 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.402e-05/0.7014, allocations: 69.39 kB / 0.8308 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.343e-05/0.7015, allocations: 22.47 kB / 0.8309 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.7016, allocations: 325.2 kB / 0.8312 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.024e-05/0.7016, allocations: 39.55 kB / 0.8312 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.159e-05/0.7017, allocations: 70.56 kB / 0.8313 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.7019, allocations: 118.4 kB / 0.8314 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.7019, allocations: 0 / 0.8314 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002168/0.7021, allocations: 153.3 kB / 0.8315 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.7021, allocations: 6.406 kB / 0.8315 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.7021, allocations: 4 kB / 0.8315 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.7022, allocations: 6.375 kB / 0.8315 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001641/0.7023, allocations: 43.36 kB / 0.8316 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.7023, allocations: 1.594 kB / 0.8316 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.561e-05/0.7024, allocations: 9.938 kB / 0.8316 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.7024, allocations: 8.594 kB / 0.8316 GB, free: 12.98 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 8.627e-05/0.7025, allocations: 123.4 kB / 0.8317 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.931e-05/0.7025, allocations: 8.688 kB / 0.8317 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.177e-05/0.7026, allocations: 20.55 kB / 0.8318 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.7026, allocations: 6.156 kB / 0.8318 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.7026, allocations: 1.281 kB / 0.8318 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.7026, allocations: 3.938 kB / 0.8318 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001415/0.7028, allocations: 191.1 kB / 0.8319 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.7028, allocations: 1.156 kB / 0.8319 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001881/0.703, allocations: 40.58 kB / 0.832 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.703, allocations: 1.188 kB / 0.832 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.703, allocations: 4.688 kB / 0.832 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.703, allocations: 1.188 kB / 0.832 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.703, allocations: 0 / 0.832 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002975/0.7033, allocations: 214.9 kB / 0.8322 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.899e-05/0.7034, allocations: 91.59 kB / 0.8323 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.7034, allocations: 5.188 kB / 0.8323 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/0.7036, allocations: 10.2 kB / 0.8323 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.414e-05/0.7036, allocations: 9.203 kB / 0.8323 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.7036, allocations: 8.625 kB / 0.8323 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.632e-05/0.7036, allocations: 85.47 kB / 0.8324 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.623e-06/0.7036, allocations: 0 / 0.8324 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002254/0.7039, allocations: 28.88 kB / 0.8324 GB, free: 12.35 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * 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.0001241/0.704, allocations: 102.7 kB / 0.8325 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001929/0.7042, allocations: 114 kB / 0.8326 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.7042, allocations: 0 / 0.8326 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.396e-05/0.7043, allocations: 55.25 kB / 0.8327 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002289/0.7045, allocations: 20.56 kB / 0.8327 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008453/0.7054, allocations: 0.6561 MB / 0.8333 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/0.7056, allocations: 0.7017 MB / 0.834 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.782e-05/0.7057, allocations: 17.06 kB / 0.834 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.7057, allocations: 0 / 0.834 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of Templates: time 0.002885/0.7086, allocations: 1.286 MB / 0.8353 GB, free: 10.3 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.makefile make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheckCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheckCalcHelperMain.o] Error 1