Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.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.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile") translateModel(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001037, allocations: 102.4 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.001472/0.001473, allocations: 178.5 kB / 16.58 MB, free: 6.137 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.667/1.667, allocations: 223.3 MB / 240.6 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002666/0.002666, allocations: 270.8 kB / 292 MB, free: 1.898 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9278/0.9278, allocations: 144.7 MB / 487.8 MB, free: 7.176 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004242/0.0004243, allocations: 17 kB / 0.5691 GB, free: 38.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1909/0.1913, allocations: 83.1 MB / 0.6502 GB, free: 3.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.001702/0.1931, allocations: 1.147 MB / 0.6514 GB, free: 2.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001519/0.1946, allocations: 0.8291 MB / 0.6522 GB, free: 1.742 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.125e-05/0.1947, allocations: 0.625 kB / 0.6522 GB, free: 1.742 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001579/0.1949, allocations: 12.45 kB / 0.6522 GB, free: 1.73 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006112/0.1955, allocations: 109.4 kB / 0.6523 GB, free: 1.625 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002492/0.1958, allocations: 92.23 kB / 0.6524 GB, free: 1.539 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.1959, allocations: 63.81 kB / 0.6524 GB, free: 1.477 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.989e-05/0.196, allocations: 4.625 kB / 0.6524 GB, free: 1.473 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.863e-05/0.1961, allocations: 33.09 kB / 0.6525 GB, free: 1.441 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000137/0.1962, allocations: 52.86 kB / 0.6525 GB, free: 1.391 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.1962, allocations: 4 kB / 0.6525 GB, free: 1.387 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003367/0.1966, allocations: 209.2 kB / 0.6527 GB, free: 1.184 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.909e-05/0.1967, allocations: 55.88 kB / 0.6528 GB, free: 1.129 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.658e-05/0.1967, allocations: 37.64 kB / 0.6528 GB, free: 1.086 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002591/0.197, allocations: 172 kB / 0.653 GB, free: 0.918 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.197, allocations: 0.7188 kB / 0.653 GB, free: 0.918 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.197, allocations: 0 / 0.653 GB, free: 0.918 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.166e-06/0.197, allocations: 1.156 kB / 0.653 GB, free: 0.918 MB / 446.1 MB 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.0006556/0.1977, allocations: 467.7 kB / 0.6534 GB, free: 424 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.1977, allocations: 8.625 kB / 0.6534 GB, free: 416 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.305e-05/0.1978, allocations: 11.91 kB / 0.6534 GB, free: 404 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003419/0.1981, allocations: 263.2 kB / 0.6537 GB, free: 100 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.1982, allocations: 8.578 kB / 0.6537 GB, free: 92 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.663e-05/0.1982, allocations: 4 kB / 0.6537 GB, free: 88 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/0.1984, allocations: 71.77 kB / 0.6538 GB, free: 12 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.1984, allocations: 3.938 kB / 0.6538 GB, free: 8 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.1984, allocations: 4.656 kB / 0.6538 GB, free: 4 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.1984, allocations: 0 / 0.6538 GB, free: 4 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002109/0.1986, allocations: 90.27 kB / 0.6539 GB, free: 15.92 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002656/0.1989, allocations: 234.4 kB / 0.6541 GB, free: 15.64 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002487/0.1992, allocations: 120.8 kB / 0.6542 GB, free: 15.52 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.1993, allocations: 59.16 kB / 0.6543 GB, free: 15.46 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.099e-05/0.1993, allocations: 19.97 kB / 0.6543 GB, free: 15.44 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.1994, allocations: 30.56 kB / 0.6543 GB, free: 15.4 MB / 462.1 MB Notification: Performance of pre-optimization done (n=3): time 1.433e-06/0.1994, allocations: 1 kB / 0.6543 GB, free: 15.4 MB / 462.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004095/0.1998, allocations: 185.1 kB / 0.6545 GB, free: 15.21 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/0.1998, allocations: 51.41 kB / 0.6545 GB, free: 15.15 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002778/0.2001, allocations: 291.1 kB / 0.6548 GB, free: 14.86 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.2002, allocations: 30.45 kB / 0.6549 GB, free: 14.82 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.827e-05/0.2002, allocations: 127.1 kB / 0.655 GB, free: 14.7 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/0.2003, allocations: 7.812 kB / 0.655 GB, free: 14.69 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.397e-06/0.2003, allocations: 0 / 0.655 GB, free: 14.69 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.2004, allocations: 330.8 kB / 0.6553 GB, free: 14.36 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.2005, allocations: 47.95 kB / 0.6553 GB, free: 14.31 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.2007, allocations: 64.7 kB / 0.6554 GB, free: 14.24 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/0.2008, allocations: 49.69 kB / 0.6555 GB, free: 14.2 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2008, allocations: 0 / 0.6555 GB, free: 14.2 MB / 462.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002395/0.201, allocations: 138.9 kB / 0.6556 GB, free: 14.05 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.2011, allocations: 4 kB / 0.6556 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.2011, allocations: 0 / 0.6556 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.2011, allocations: 4 kB / 0.6556 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.279e-05/0.2012, allocations: 15.92 kB / 0.6556 GB, free: 14.03 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.2012, allocations: 0 / 0.6556 GB, free: 14.03 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.986e-05/0.2013, allocations: 19.89 kB / 0.6556 GB, free: 14.01 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.2013, allocations: 0 / 0.6556 GB, free: 14.01 MB / 462.1 MB 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 0.0001062/0.2014, allocations: 131.1 kB / 0.6557 GB, free: 13.88 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.039e-05/0.2014, allocations: 19.84 kB / 0.6558 GB, free: 13.86 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003011/0.2017, allocations: 146.5 kB / 0.6559 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.2017, allocations: 0 / 0.6559 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.2018, allocations: 4 kB / 0.6559 GB, free: 13.7 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.2018, allocations: 0 / 0.6559 GB, free: 13.7 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001861/0.202, allocations: 217.5 kB / 0.6561 GB, free: 13.44 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.202, allocations: 0 / 0.6561 GB, free: 13.44 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.632e-05/0.202, allocations: 23.92 kB / 0.6561 GB, free: 13.42 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.202, allocations: 0 / 0.6561 GB, free: 13.42 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.2021, allocations: 3.953 kB / 0.6561 GB, free: 13.41 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2021, allocations: 4 kB / 0.6561 GB, free: 13.41 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2021, allocations: 0 / 0.6561 GB, free: 13.41 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002708/0.2024, allocations: 157 kB / 0.6563 GB, free: 13.24 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.547e-05/0.2024, allocations: 100.9 kB / 0.6564 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.559e-05/0.2025, allocations: 7.984 kB / 0.6564 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.54e-05/0.2025, allocations: 7.953 kB / 0.6564 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.591e-05/0.2026, allocations: 7.984 kB / 0.6564 GB, free: 13.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.105e-06/0.2026, allocations: 0 / 0.6564 GB, free: 13.1 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002079/0.2028, allocations: 224.5 kB / 0.6566 GB, free: 12.88 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2028, allocations: 0 / 0.6566 GB, free: 12.88 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000293/0.2031, allocations: 71.98 kB / 0.6567 GB, free: 12.81 MB / 462.1 MB 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.0002821/0.2034, allocations: 163.1 kB / 0.6569 GB, free: 12.64 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000249/0.2037, allocations: 91.88 kB / 0.6569 GB, free: 12.55 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.2037, allocations: 8 kB / 0.657 GB, free: 12.54 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.2038, allocations: 47.97 kB / 0.657 GB, free: 12.49 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.204, allocations: 14.55 kB / 0.657 GB, free: 12.48 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000513/0.2045, allocations: 331.3 kB / 0.6573 GB, free: 12.12 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/0.2048, allocations: 0.7199 MB / 0.658 GB, free: 11.38 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.071e-05/0.2049, allocations: 15.44 kB / 0.658 GB, free: 11.36 MB / 462.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2049, allocations: 0 / 0.658 GB, free: 11.36 MB / 462.1 MB Notification: Performance of Templates: time 0.004304/0.2092, allocations: 2.238 MB / 0.6602 GB, free: 9.137 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.makefile make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.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 OMCppBuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfileCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfileCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfileCalcHelperMain.o] Error 1