Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.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.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder") translateModel(BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009058/0.0009062, allocations: 92.16 kB / 16.02 MB, free: 80 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.001075/0.001075, allocations: 183.2 kB / 16.92 MB, free: 6.922 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.342/1.342, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001754/0.001755, allocations: 266.4 kB / 292.3 MB, free: 1.898 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9532/0.9532, allocations: 169.5 MB / 0.501 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004431/0.0004432, allocations: 16.97 kB / 0.5993 GB, free: 27.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1616, allocations: 88.55 MB / 0.6858 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.002762/0.1644, allocations: 2.266 MB / 0.688 GB, free: 12.82 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001547/0.166, allocations: 0.8573 MB / 0.6888 GB, free: 11.95 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002895/0.1663, allocations: 11.94 kB / 0.6888 GB, free: 11.94 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001802/0.1665, allocations: 51.58 kB / 0.6889 GB, free: 11.89 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001755/0.1667, allocations: 41.66 kB / 0.6889 GB, free: 11.85 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000479/0.1671, allocations: 224.3 kB / 0.6891 GB, free: 11.63 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004285/0.1676, allocations: 405.6 kB / 0.6895 GB, free: 11.24 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003233/0.1679, allocations: 225.3 kB / 0.6897 GB, free: 11.01 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.168, allocations: 80.12 kB / 0.6898 GB, free: 10.93 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001396/0.1682, allocations: 103.8 kB / 0.6899 GB, free: 10.83 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.313e-05/0.1682, allocations: 8 kB / 0.6899 GB, free: 10.82 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.408e-05/0.1683, allocations: 4.562 kB / 0.6899 GB, free: 10.82 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.25e-05/0.1683, allocations: 47.7 kB / 0.69 GB, free: 10.77 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000122/0.1684, allocations: 163.1 kB / 0.6901 GB, free: 10.61 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003884/0.1688, allocations: 494.7 kB / 0.6906 GB, free: 10.12 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1688, allocations: 4 kB / 0.6906 GB, free: 10.12 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.519e-06/0.1689, allocations: 0 / 0.6906 GB, free: 10.12 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.342e-05/0.1689, allocations: 3.938 kB / 0.6906 GB, free: 10.12 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0008202/0.1697, allocations: 0.564 MB / 0.6912 GB, free: 9.508 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.1697, allocations: 12.78 kB / 0.6912 GB, free: 9.496 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.217e-05/0.1698, allocations: 44.38 kB / 0.6912 GB, free: 9.453 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004081/0.1702, allocations: 387.9 kB / 0.6916 GB, free: 9.039 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.989e-05/0.1703, allocations: 22.03 kB / 0.6916 GB, free: 9.016 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.533e-05/0.1703, allocations: 28.38 kB / 0.6916 GB, free: 8.988 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00057/0.1709, allocations: 337.1 kB / 0.692 GB, free: 8.648 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.1709, allocations: 0 / 0.692 GB, free: 8.648 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.882e-05/0.171, allocations: 8 kB / 0.692 GB, free: 8.641 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.171, allocations: 8 kB / 0.692 GB, free: 8.633 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005225/0.1715, allocations: 253 kB / 0.6922 GB, free: 8.391 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001473/0.173, allocations: 1.173 MB / 0.6934 GB, free: 7.16 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004824/0.1735, allocations: 246.8 kB / 0.6936 GB, free: 6.91 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000195/0.1737, allocations: 108.8 kB / 0.6937 GB, free: 6.801 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.1737, allocations: 0 / 0.6937 GB, free: 6.801 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/0.1738, allocations: 34.56 kB / 0.6937 GB, free: 6.758 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.032e-06/0.1738, allocations: 0 / 0.6937 GB, free: 6.758 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.0006586/0.1744, allocations: 327.3 kB / 0.694 GB, free: 6.434 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.979e-05/0.1745, allocations: 81.11 kB / 0.6941 GB, free: 6.336 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003572/0.1749, allocations: 336.4 kB / 0.6944 GB, free: 6 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.1749, allocations: 25.7 kB / 0.6945 GB, free: 5.969 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.175, allocations: 188.2 kB / 0.6946 GB, free: 5.781 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.33e-05/0.1751, allocations: 51.27 kB / 0.6947 GB, free: 5.73 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.974e-05/0.1751, allocations: 33.7 kB / 0.6947 GB, free: 5.691 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.1753, allocations: 334.8 kB / 0.695 GB, free: 5.355 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001793/0.1754, allocations: 95.89 kB / 0.6951 GB, free: 5.262 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002084/0.1757, allocations: 129.1 kB / 0.6953 GB, free: 5.125 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003636/0.176, allocations: 208.5 kB / 0.6955 GB, free: 4.914 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.176, allocations: 0 / 0.6955 GB, free: 4.914 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000459/0.1765, allocations: 269.2 kB / 0.6957 GB, free: 4.645 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.356e-05/0.1766, allocations: 106.7 kB / 0.6958 GB, free: 4.527 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.1766, allocations: 0 / 0.6958 GB, free: 4.527 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.1766, allocations: 7.938 kB / 0.6958 GB, free: 4.52 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001634/0.1768, allocations: 31.92 kB / 0.6959 GB, free: 4.488 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.1768, allocations: 4 kB / 0.6959 GB, free: 4.484 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.1769, allocations: 35.73 kB / 0.6959 GB, free: 4.449 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.1769, allocations: 4 kB / 0.6959 GB, free: 4.445 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.364e-06/0.177, allocations: 6.031 kB / 0.6959 GB, free: 4.441 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002948/0.1773, allocations: 175.8 kB / 0.6961 GB, free: 4.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-06/0.1773, allocations: 0 / 0.6961 GB, free: 4.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.318e-06/0.1773, allocations: 4 kB / 0.6961 GB, free: 4.266 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.1774, allocations: 31.98 kB / 0.6961 GB, free: 4.234 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-06/0.1774, allocations: 0 / 0.6961 GB, free: 4.234 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.1775, allocations: 23.83 kB / 0.6961 GB, free: 4.211 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.1775, allocations: 4 kB / 0.6961 GB, free: 4.207 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (expMod.oveWriAct_activate,expMod.oveWriSet_activate,expMod.mod.conPI.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001769/0.1777, allocations: 242.4 kB / 0.6964 GB, free: 3.961 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.211e-05/0.1778, allocations: 27.62 kB / 0.6964 GB, free: 3.934 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.729e-05/0.1779, allocations: 35.28 kB / 0.6964 GB, free: 3.902 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.1779, allocations: 8 kB / 0.6964 GB, free: 3.895 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1779, allocations: 4 kB / 0.6964 GB, free: 3.891 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.1779, allocations: 0 / 0.6964 GB, free: 3.891 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003938/0.1783, allocations: 409.3 kB / 0.6968 GB, free: 3.441 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.1783, allocations: 0 / 0.6968 GB, free: 3.441 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001577/0.1785, allocations: 35.92 kB / 0.6969 GB, free: 3.406 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1785, allocations: 0 / 0.6969 GB, free: 3.406 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.1785, allocations: 7.984 kB / 0.6969 GB, free: 3.398 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.1785, allocations: 0 / 0.6969 GB, free: 3.398 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1785, allocations: 0 / 0.6969 GB, free: 3.398 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006622/0.1792, allocations: 464.8 kB / 0.6973 GB, free: 2.93 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.1793, allocations: 132.7 kB / 0.6974 GB, free: 2.781 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.589e-05/0.1793, allocations: 4 kB / 0.6974 GB, free: 2.777 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.1795, allocations: 15.92 kB / 0.6975 GB, free: 2.762 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/0.1795, allocations: 11.98 kB / 0.6975 GB, free: 2.75 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-06/0.1795, allocations: 4 kB / 0.6975 GB, free: 2.746 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002178/0.1798, allocations: 231.1 kB / 0.6977 GB, free: 2.52 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1798, allocations: 0 / 0.6977 GB, free: 2.52 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003603/0.1801, allocations: 99.62 kB / 0.6978 GB, free: 2.422 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (expMod.mod.conPI.I.y,expMod.mod.firOrd.y) * Number of discrete variables: 2 (expMod.oveWriSet_activate,expMod.oveWriAct_activate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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 9.878e-05/0.1802, allocations: 103.2 kB / 0.6979 GB, free: 2.312 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005612/0.1808, allocations: 294.1 kB / 0.6982 GB, free: 2.027 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1808, allocations: 0 / 0.6982 GB, free: 2.027 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001895/0.181, allocations: 103.9 kB / 0.6983 GB, free: 1.926 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000534/0.1816, allocations: 86.17 kB / 0.6983 GB, free: 1.844 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.1826, allocations: 0.7109 MB / 0.699 GB, free: 1.094 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.1829, allocations: 0.7755 MB / 0.6998 GB, free: 300 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.02e-05/0.183, allocations: 23.44 kB / 0.6998 GB, free: 276 kB / 494.1 MB Notification: Performance of SimCode: time 3.91e-07/0.183, allocations: 0 / 0.6998 GB, free: 276 kB / 494.1 MB Notification: Performance of Templates: time 0.005698/0.1887, allocations: 3.907 MB / 0.7036 GB, free: 12.38 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.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.Utilities.IO.SignalExchange.Examples.FirstOrderCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrderCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrderCalcHelperMain.o] Error 1