Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.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.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset") translateModel(BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009394/0.0009394, allocations: 92 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.001005/0.001005, allocations: 181.1 kB / 16.92 MB, free: 6.652 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.324/1.324, allocations: 223.2 MB / 240.9 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00172/0.00172, allocations: 271 kB / 292.3 MB, free: 1.836 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.944/0.944, allocations: 169.5 MB / 0.501 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004057/0.0004058, allocations: 11.39 kB / 0.5993 GB, free: 28.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1714, allocations: 88.55 MB / 0.6858 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset): time 0.004106/0.1755, allocations: 3.713 MB / 0.6894 GB, free: 11.31 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002135/0.1777, allocations: 1.261 MB / 0.6906 GB, free: 10.05 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002607/0.1779, allocations: 24.91 kB / 0.6906 GB, free: 10.02 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000248/0.1782, allocations: 91.2 kB / 0.6907 GB, free: 9.934 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002979/0.1785, allocations: 146.8 kB / 0.6909 GB, free: 9.793 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007155/0.1792, allocations: 383 kB / 0.6912 GB, free: 9.426 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007745/0.18, allocations: 0.8811 MB / 0.6921 GB, free: 8.543 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005671/0.1806, allocations: 425.6 kB / 0.6925 GB, free: 8.109 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000246/0.1808, allocations: 236 kB / 0.6927 GB, free: 7.879 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002794/0.1811, allocations: 250.4 kB / 0.693 GB, free: 7.633 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.7e-05/0.1812, allocations: 24 kB / 0.693 GB, free: 7.609 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.73e-05/0.1813, allocations: 24.66 kB / 0.693 GB, free: 7.586 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.798e-05/0.1814, allocations: 103.4 kB / 0.6931 GB, free: 7.484 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002636/0.1816, allocations: 336.6 kB / 0.6934 GB, free: 7.148 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006539/0.1823, allocations: 0.7947 MB / 0.6942 GB, free: 6.352 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.1823, allocations: 8.703 kB / 0.6942 GB, free: 6.344 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1823, allocations: 4 kB / 0.6942 GB, free: 6.34 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.256e-06/0.1823, allocations: 0.625 kB / 0.6942 GB, free: 6.34 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001506/0.1838, allocations: 0.9522 MB / 0.6952 GB, free: 5.332 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.1839, allocations: 8.031 kB / 0.6952 GB, free: 5.324 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001346/0.184, allocations: 84 kB / 0.6952 GB, free: 5.242 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007507/0.1848, allocations: 0.5455 MB / 0.6958 GB, free: 4.656 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.863e-05/0.1848, allocations: 45.69 kB / 0.6958 GB, free: 4.613 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.1849, allocations: 64.36 kB / 0.6959 GB, free: 4.551 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/0.186, allocations: 0.6117 MB / 0.6965 GB, free: 3.918 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/0.186, allocations: 3.906 kB / 0.6965 GB, free: 3.914 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.258e-05/0.1861, allocations: 28 kB / 0.6965 GB, free: 3.887 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.505e-05/0.1861, allocations: 12 kB / 0.6965 GB, free: 3.875 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009706/0.1871, allocations: 473 kB / 0.697 GB, free: 3.414 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002679/0.1898, allocations: 2.028 MB / 0.6989 GB, free: 1.316 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009003/0.1907, allocations: 457 kB / 0.6994 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004393/0.1912, allocations: 246.1 kB / 0.6996 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.26e-05/0.1912, allocations: 8.375 kB / 0.6996 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005751/0.1918, allocations: 265.3 kB / 0.6999 GB, free: 348 kB / 494.1 MB Notification: Performance of pre-optimization done (n=49): time 3.757e-06/0.1918, allocations: 4 kB / 0.6999 GB, free: 344 kB / 494.1 MB Notification: Performance of matching and sorting (n=49): time 0.001294/0.1931, allocations: 0.6039 MB / 0.7005 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.1932, allocations: 59.83 kB / 0.7005 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004803/0.1936, allocations: 438.1 kB / 0.7009 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.912e-05/0.1937, allocations: 37.7 kB / 0.701 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002313/0.1939, allocations: 332.8 kB / 0.7013 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001146/0.194, allocations: 161.7 kB / 0.7015 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.757e-05/0.1941, allocations: 53.69 kB / 0.7015 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.1943, allocations: 362.8 kB / 0.7019 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003831/0.1947, allocations: 173 kB / 0.702 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004412/0.1951, allocations: 257.8 kB / 0.7023 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008224/0.1959, allocations: 468 kB / 0.7027 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.196, allocations: 4 kB / 0.7027 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009858/0.197, allocations: 0.5626 MB / 0.7033 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.866e-05/0.197, allocations: 41.64 kB / 0.7033 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.197, allocations: 4 kB / 0.7033 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.197, allocations: 7.984 kB / 0.7033 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004727/0.1975, allocations: 111.8 kB / 0.7034 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.1975, allocations: 7.984 kB / 0.7034 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003433/0.1979, allocations: 71.56 kB / 0.7035 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.553e-05/0.1979, allocations: 23.92 kB / 0.7035 GB, free: 12.48 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$whenCondition1,$whenCondition2,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * 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.0002371/0.1982, allocations: 203.1 kB / 0.7037 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.446e-05/0.1982, allocations: 59.28 kB / 0.7038 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001303/0.1984, allocations: 61.58 kB / 0.7038 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/0.1984, allocations: 8 kB / 0.7038 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.1984, allocations: 4 kB / 0.7038 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.1984, allocations: 3.984 kB / 0.7038 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001624/0.2, allocations: 1.197 MB / 0.705 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.2001, allocations: 0 / 0.705 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004396/0.2005, allocations: 95.89 kB / 0.7051 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.2005, allocations: 0 / 0.7051 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.174e-05/0.2005, allocations: 15.98 kB / 0.7051 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.2006, allocations: 0 / 0.7051 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2006, allocations: 0 / 0.7051 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001293/0.2019, allocations: 0.7836 MB / 0.7059 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001655/0.202, allocations: 164.3 kB / 0.706 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.57e-05/0.2021, allocations: 15.94 kB / 0.7061 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002938/0.2024, allocations: 35.97 kB / 0.7061 GB, free: 9.746 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.283e-05/0.2025, allocations: 36.33 kB / 0.7061 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.682e-05/0.2025, allocations: 15.98 kB / 0.7061 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003159/0.2028, allocations: 310.9 kB / 0.7064 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2029, allocations: 0 / 0.7064 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004231/0.2033, allocations: 143.4 kB / 0.7066 GB, free: 9.254 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001256/0.2034, allocations: 115.2 kB / 0.7067 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009017/0.2043, allocations: 493 kB / 0.7072 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2043, allocations: 0 / 0.7072 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004133/0.2048, allocations: 218.9 kB / 0.7074 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007739/0.2055, allocations: 152.6 kB / 0.7075 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002672/0.2082, allocations: 1.728 MB / 0.7092 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004296/0.2087, allocations: 0.8902 MB / 0.7101 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001476/0.2088, allocations: 43.44 kB / 0.7101 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of SimCode: time 3.71e-07/0.2088, allocations: 0 / 0.7101 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of Templates: time 0.009896/0.2187, allocations: 7.492 MB / 0.7174 GB, free: 14.09 MB / 0.5137 GB make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.makefile make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.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.Controls.Continuous.Examples.LimPIDWithResetCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithResetCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithResetCalcHelperMain.o] Error 1